mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 14:16:50 +00:00
12 lines
219 B
Plaintext
12 lines
219 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 );
|
||
|
}
|