Ignore:
Timestamp:
06/06/07 10:25:13 (17 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPPostProc/GTPPostProc.hlsl

    r2398 r2414  
    4848   IN.texCoord += float2(0.5/width, 0.5/height); 
    4949   return tex2D(Texture1,IN.texCoord ) + tex2D(Texture2,IN.texCoord ); 
     50} 
     51 
     52float4 Combine_PS(VS_OUT IN, 
     53                uniform float width, 
     54                uniform float height, 
     55                uniform float weight1, 
     56                uniform float weight2, 
     57                uniform sampler2D Texture1: register(s0), 
     58                uniform sampler2D Texture2: register(s1) 
     59                 ):COLOR 
     60{        
     61   IN.texCoord += float2(0.5/width, 0.5/height); 
     62   return tex2D(Texture1,IN.texCoord ) * weight1 + tex2D(Texture2,IN.texCoord ) * weight2; 
    5063} 
    5164 
Note: See TracChangeset for help on using the changeset viewer.