Changeset 2417 for GTP/trunk/App/Demos/Illum/Ogre/Media/MORIA/illum.hlsl
- Timestamp:
- 06/06/07 19:19:29 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/MORIA/illum.hlsl
r2404 r2417 79 79 float3 weight = tex2D(weightTex, float2((weightIndex + 0.5)/allClusterCount, 0.5)).rgb; 80 80 float3 val = tex2D(PMTex, prmTexPos).xyz; 81 if(length(val - float3(1,1,1))== 0)82 val = 0;81 // if(length(val - float3(1,1,1))== 0) 82 // val = 0; 83 83 col += val.xyz * weight; 84 84 }
Note: See TracChangeset
for help on using the changeset viewer.