blob: 0dad48c0d4f65f8e4e0e7e0843bd7e811ea4239f (
plain)
1
2
3
4
5
6
7
8
9
10
|
Texture2D Texture : register(t0);
SamplerState Linear : register(s0);
float4 main(in float4 oPosition : SV_Position,
in float1 oColor : COLOR,
in float2 oTexCoord0 : TEXCOORD0) : SV_Target
{
float3 Result = Texture.SampleLevel(Linear, oTexCoord0, 0.0).rgb;
return float4(Result * oColor, 1.0 );
}
|