- Timestamp:
- 06/24/07 10:58:31 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/MORIA/MoriaHallBase.hlsl
r2442 r2458 28 28 uniform float lightPower2; 29 29 uniform float4 lightColor1; 30 uniform float4 lightColor2;30 float4 lightColor2 = 0; 31 31 32 32 uniform float4x4 LightView1; … … 100 100 float shadow; 101 101 102 //if(dot(lightColor1, lightColor1) != 0)103 //{102 if( dot(lightRange1, lightRange1) != 0) 103 { 104 104 L = wLightPos1.xyz - IN.wPos * wLightPos1.w; 105 105 //illumination … … 112 112 113 113 //Color = col; 114 //}114 } 115 115 116 116 //---------------------------------------------------------------------------------------------------------------- 117 117 //light2 118 /*if(dot(lightColor2, lightColor2) != 0)118 if( dot(lightRange2, lightRange2) != 0 ) 119 119 { 120 120 //light dir … … 126 126 shadow = shadowPoint(ShadowMap2Point, lightCPos, lightFarPlane2); 127 127 Color += col * shadow; 128 } */128 } 129 129 130 130 //do Path Map to gather indirect illumination
Note: See TracChangeset
for help on using the changeset viewer.