mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2024-12-22 17:47:38 +08:00
12 lines
218 B
Plaintext
12 lines
218 B
Plaintext
sampler TextureSampler : register( s1 );
|
|
|
|
struct PS_INPUT
|
|
{
|
|
float4 vColor0 : COLOR0;
|
|
float2 vTexCoord1 : TEXCOORD1;
|
|
};
|
|
|
|
float4 main( PS_INPUT i ) : COLOR
|
|
{
|
|
return tex2D( TextureSampler, i.vTexCoord1 );
|
|
} |