Changeset 2212 for GTP/trunk/App/Demos/Illum/pathmap/pathMap.fx
- Timestamp:
- 03/08/07 16:59:38 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/pathmap/pathMap.fx
r2197 r2212 122 122 1.0 - (input.texAtlas.y + (iCluster / prmAtlasTiles.x)) / prmAtlasTiles.y) + atlasHalfPixel; 123 123 float4 weight = weightsa[iCluster/4]; 124 // weight = 0.0 01;124 // weight = 0.065; 125 125 float3 val = tex2D(filteredAtlasSampler, prmTexPos); 126 126 col += val.xyz * weight.x; … … 181 181 1.0 - (input.texAtlas.y + (iCluster / prmAtlasTiles.x)) / prmAtlasTiles.y) + atlasHalfPixel; 182 182 float4 weight = weightsa[iCluster/4]; 183 // weight = 0.065; 183 184 float3 val = tex2D(filteredAtlasSampler, prmTexPos); 184 185 col += val.xyz * weight.x; … … 201 202 202 203 return float4( lightPower * col * tex2D(brdfMapSampler, input.tex) , 1); 204 // return float4( lightPower * col, 1); 203 205 } 204 206
Note: See TracChangeset
for help on using the changeset viewer.