Ignore:
Timestamp:
07/05/07 16:18:22 (17 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Illum/Ogre/Media/Station/stationIllum.hlsl

    r2507 r2527  
    156156} 
    157157 
    158 float Caustics(samplerCUBE cauMap, samplerCUBE distMap, float3 dir, float attenuation) 
     158float3 Caustics(samplerCUBE cauMap, samplerCUBE distMap, float3 dir, float attenuation) 
    159159{ 
    160160        float d = length(dir); 
     
    163163        caustics *= 1.0 - saturate(d / attenuation); 
    164164         
    165         return caustics.r; 
     165        return caustics.rgb; 
    166166} 
Note: See TracChangeset for help on using the changeset viewer.