Ignore:
Timestamp:
10/19/08 13:42:41 (16 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r3041 r3044  
    4343        const float pos = (minMaxPos.x - IN.position.z) / (minMaxPos.x - minMaxPos.y); 
    4444 
    45         float factor = pos * windStrength * sin(timer * frequency); 
     45        float factor = pos * pos * windStrength * sin(timer * frequency); 
    4646 
    4747        // transform the vertex position into post projection space 
Note: See TracChangeset for help on using the changeset viewer.