Changeset 3031 for GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders
- Timestamp:
- 10/15/08 01:51:10 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/mrt.cg
r3018 r3031 43 43 44 44 vtxout vtx(vtxin IN, 45 const uniform float4x4 ModelViewProj, 46 uniform float4x4 ModelView) 45 uniform float4x4 modelView) 47 46 { 48 47 vtxout OUT; … … 52 51 53 52 //OUT.worldPos = mul(glstate.matrix.inverse.projection, OUT.position); 54 OUT.worldPos = mul( ModelView, IN.position);53 OUT.worldPos = mul(modelView, IN.position); 55 54 // transform the vertex position into eye space 56 55 OUT.position = mul(glstate.matrix.mvp, IN.position); … … 75 74 76 75 pixel fragtex(fragin IN, 77 uniform sampler2D dirtTex,78 76 uniform sampler2D tex, 79 77 uniform float3 eyePos,
Note: See TracChangeset
for help on using the changeset viewer.