Changeset 3044 for GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders
- Timestamp:
- 10/19/08 13:42:41 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/treeanimation.cg
r3041 r3044 43 43 const float pos = (minMaxPos.x - IN.position.z) / (minMaxPos.x - minMaxPos.y); 44 44 45 float factor = pos * windStrength * sin(timer * frequency);45 float factor = pos * pos * windStrength * sin(timer * frequency); 46 46 47 47 // transform the vertex position into post projection space
Note: See TracChangeset
for help on using the changeset viewer.