struct PS_IN { float3 wpos: TEXCOORD0; }; float4 main(PS_IN input):COLOR0 { return float4( frac( input.wpos.xyz*0.0004 ),1.0); }