Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/SuperOrxoBros_HS18/data_extern/programs/GlassFP.cg @ 12175

Last change on this file since 12175 was 12175, checked in by siramesh, 5 years ago

Super Orxo Bros (Sidharth Ramesh, Nisa Balta, Jeff Ren)

File size: 233 bytes
Line 
1sampler RT : register(s0);
2sampler NormalMap : register(s1);
3
4float4 main_ps(float2 iTexCoord : TEXCOORD0) : COLOR
5{
6        float4 normal = 2 * (tex2D(NormalMap, iTexCoord * 2.5) - 0.5);
7
8        return tex2D(RT, iTexCoord + normal.xy * 0.05);
9}
Note: See TracBrowser for help on using the repository browser.