Ignore:
Timestamp:
10/15/08 01:51:10 (16 years ago)
Author:
mattausch
Message:

shader working but slow

File:
1 edited

Legend:

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

    r3018 r3031  
    4343 
    4444vtxout vtx(vtxin IN,  
    45                    const uniform float4x4 ModelViewProj, 
    46                    uniform float4x4 ModelView) 
     45                   uniform float4x4 modelView) 
    4746{ 
    4847        vtxout OUT; 
     
    5251 
    5352        //OUT.worldPos = mul(glstate.matrix.inverse.projection, OUT.position); 
    54         OUT.worldPos = mul(ModelView, IN.position); 
     53        OUT.worldPos = mul(modelView, IN.position); 
    5554        // transform the vertex position into eye space 
    5655        OUT.position = mul(glstate.matrix.mvp, IN.position); 
     
    7574 
    7675pixel fragtex(fragin IN,  
    77                           uniform sampler2D dirtTex, 
    7876                          uniform sampler2D tex, 
    7977                          uniform float3 eyePos, 
Note: See TracChangeset for help on using the changeset viewer.