- Timestamp:
- 04/29/09 14:05:01 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/combineSsaoSep.cg
r3363 r3364 235 235 pixel OUT; 236 236 237 float4 col = tex2Dlod(colorsTex, float4(IN.texCoord, 0, 0));238 float4 ao = tex2Dlod(ssaoTex, float4(IN.texCoord, 0, 0));237 float4 col = tex2Dlod(colorsTex, float4(IN.texCoord, .0f, .0f)); 238 float4 ao = tex2Dlod(ssaoTex, float4(IN.texCoord, .0f, .0f)); 239 239 240 240 const float depth = col.w; … … 252 252 { 253 253 // the filtered ssao value 254 ao.x = FilterXY(IN.texCoord, ssaoTex, colorsTex, bl, br, tl, tr, xyStep, convergence, maxConvergence, spatialWeight); 254 ao.x = FilterXY(IN.texCoord, ssaoTex, colorsTex, 255 bl, br, tl, tr, 256 xyStep, convergence, maxConvergence, spatialWeight); 255 257 } 256 258 … … 274 276 //OUT.illum_col.xyz = float3(ao.z * 1e-3f); 275 277 //OUT.illum_col.xyz = float3(ao.y * 1e-3f); 278 OUT.illum_col.xyz = float3(ao.y); 276 279 //OUT.illum_col.xyz = ao.xyz; 277 280
Note: See TracChangeset
for help on using the changeset viewer.