source: GTP/branches/IllumWPdeliver2008dec/IlluminationWP/precompiled/app/OgreIllumModule_Resources/materials/GTPAdvancedEnvMap/multibounce/MultiBounceShared.hlsl @ 3255

Revision 3255, 328 bytes checked in by szirmay, 15 years ago (diff)
Line 
1struct Shaded_CPos_OUT
2{
3 float4 vPos : POSITION;
4 float4 wNormal : TEXCOORD0;
5 float4 wPos    : TEXCOORD1;
6 float4 CPos    : TEXCOORD2;
7};
8
9
10float4 NormalDistancePS( Shaded_CPos_OUT IN):COLOR
11{
12 float4 Color = float4(0, 0, 0, 0);
13 Color = float4(normalize(IN.wNormal.xyz), length(IN.CPos.xyz));
14 return Color;
15}
Note: See TracBrowser for help on using the repository browser.