source-engine/materialsystem/stdshaders/unlitgeneric_ps11.fxc

12 lines
219 B
Plaintext
Raw Normal View History

2020-04-22 16:56:21 +00:00
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 );
}