Files
cool-source-archive/materialsystem/stdshaders/unlitgeneric_ps11.fxc
2021-10-01 13:28:22 +07:00

12 lines
230 B
Plaintext

sampler TextureSampler : register( s0 );
struct PS_INPUT
{
float4 vColor0 : COLOR0;
float2 vTexCoord0 : TEXCOORD0;
};
float4 main( PS_INPUT i ) : COLOR
{
return i.vColor0 * tex2D( TextureSampler, i.vTexCoord0 );
}