Ignore:
Timestamp:
07/10/08 15:57:47 (16 years ago)
Author:
mattausch
Message:

worked on environment + hud

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/deferred.cg

    r2826 r2829  
     1//////////////////// 
     2// Screen Spaced Ambient Occlusion shader 
     3// mainly based on Kustls shader 
     4 
    15#define NUM_SAMPLES 8 
    26#define SAMPLE_INTENSITY 0.5f 
     
    180184  float ao = ssao(IN, positions, noiseTexture, samples, normal); 
    181185   
    182   //OUT.color = tex2D(positions, IN.texCoord.xy); 
    183   //OUT.color = ao; 
    184   //OUT.color = col; 
    185   OUT.color = ao * col; 
     186   //OUT.color = ao; 
     187   OUT.color = ao * col;  
    186188 
    187189  return OUT; 
Note: See TracChangeset for help on using the changeset viewer.