- Timestamp:
- 01/24/07 21:44:30 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPCaustic/GTPCaustic.hlsl
r2024 r2054 256 256 257 257 if(mydist > dist + EPSILON) caustic = 0; 258 //caustic.rgb *= max(attenuation - mydist, 0.0) / attenuation; 258 259 caustic.rgb *= max(attenuation - mydist, 0.0) / attenuation; 259 260 260 261 Color = caustic; 261 Color += attenuation; 262 Color.a = 1; 262 //Color += attenuation * 0.000000000001; 263 Color.a = 1; 264 263 265 return Color; 264 266 }
Note: See TracChangeset
for help on using the changeset viewer.