13 lines
269 B
HLSL
13 lines
269 B
HLSL
Texture2D<float4> gSplatTexture : register(t0);
|
|
|
|
struct PixelInput
|
|
{
|
|
float4 position : SV_Position;
|
|
};
|
|
|
|
float4 MainPS(PixelInput input) : SV_Target0
|
|
{
|
|
float4 color = gSplatTexture.Load(int3(int2(input.position.xy), 0));
|
|
return float4(color.rgb, color.a);
|
|
}
|