1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2024-12-23 01:59:43 +08:00
hl2sdk/materialsystem/stdshaders/debugluxel_ps2x.fxc

16 lines
301 B
Plaintext
Raw Permalink Normal View History

2014-10-31 05:22:22 +08:00
#include "common_ps_fxc.h"
sampler TextureSampler : register( s0 );
struct PS_INPUT
{
float2 baseTexCoord : TEXCOORD0;
};
float4 main( PS_INPUT i ) : COLOR
{
float4 result = tex2D( TextureSampler, i.baseTexCoord );
return FinalOutput( result, 0, PIXEL_FOG_TYPE_NONE, TONEMAP_SCALE_NONE );
}