- Timestamp:
- 11/12/08 13:05:11 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/combineSsao.cg
r3120 r3122 86 86 //sampleNorm = tex2Dlod(normalsTex, offs).xyz; 87 87 88 w = filterWeights[i] * max(dot(sampleNorm, norm), .0f) * depthFactor;88 w = filterWeights[i] * max(dot(sampleNorm, norm), 1e-3f) * depthFactor; 89 89 90 90 average += aoSample.x * w; … … 113 113 if ((ao.y < 60.0f) && (col.w < 1e10f)) 114 114 { 115 const static float scaleFactor = 10.0f;115 const static float scaleFactor = 20.0f; 116 116 117 117 //ao.x = Filter(IN.texCoord, ssaoTex, filterOffs, filterWeights);
Note: See TracChangeset
for help on using the changeset viewer.