// LFS Pixel Shader : Interface // Vertex shader output struct VS_OUTPUT { float4 oPos : POSITION; float4 oD0 : COLOR0; float2 oT0 : TEXCOORD0; }; // Global variables sampler2D s_T0 : register(s0); // Main functions float4 ps_i_no_texture( in VS_OUTPUT In ) : COLOR { return In.oD0; } float4 ps_i_simple_1( in VS_OUTPUT In ) : COLOR { float4 tex_col = tex2D(s_T0, In.oT0); return tex_col * In.oD0; }