- Timestamp:
- 07/05/07 16:18:22 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/Station/stationIllum.hlsl
r2507 r2527 156 156 } 157 157 158 float Caustics(samplerCUBE cauMap, samplerCUBE distMap, float3 dir, float attenuation)158 float3 Caustics(samplerCUBE cauMap, samplerCUBE distMap, float3 dir, float attenuation) 159 159 { 160 160 float d = length(dir); … … 163 163 caustics *= 1.0 - saturate(d / attenuation); 164 164 165 return caustics.r ;165 return caustics.rgb; 166 166 }
Note: See TracChangeset
for help on using the changeset viewer.