Changeset 2339


Ignore:
Timestamp:
04/24/07 18:09:28 (18 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

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

    r2337 r2339  
    4242                float2 prmTexPos = float2( 
    4343                        (input.texAtlas.x + (iCluster % prmAtlasTiles.x)) / prmAtlasTiles.x, 
    44                         1.0 - (input.texAtlas.y + (iCluster / prmAtlasTiles.x)) / prmAtlasTiles.y) + atlasHalfPixel; 
     44                        1.0 - (input.texAtlas.y + (iCluster / prmAtlasTiles.x)) / prmAtlasTiles.y);// + atlasHalfPixel; 
    4545 
    4646                float weightIndex = tex2D(clusterWeightIndexSampler, float2(((float)iCluster + 0.5) / clusterCount, 0.5)).r; 
     
    5555        float3 color = tex2D(colorSampler, input.tex).rgb; 
    5656 
     57return float4(col,1); 
    5758        return float4(col * color, 1); 
    5859 
Note: See TracChangeset for help on using the changeset viewer.