Ignore:
Timestamp:
10/05/08 23:13:58 (16 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r2982 r3005  
    3131{ 
    3232  float4 col: COLOR0; 
    33   float4 pos: COLOR1; 
     33  float3 pos: COLOR1; 
    3434  float4 norm: COLOR2; 
    3535}; 
     
    112112 
    113113        pix.col = IN.color2; 
    114         pix.pos = 1e20f; 
     114        pix.col.w = 2.0f; 
    115115 
    116116        pix.norm.xyz = IN.normal; 
     117        pix.norm.w = IN.mypos.w; 
     118 
     119        pix.pos = 1e20f; 
    117120         
    118         pix.norm.w = IN.mypos.w; 
    119         pix.pos.w = 1e20f; 
    120          
    121         pix.col.w = 2.0f; 
    122  
    123121        return pix; 
    124122} 
Note: See TracChangeset for help on using the changeset viewer.