We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94b11a7 commit 64f1ebdCopy full SHA for 64f1ebd
examples_tests/22.RaytracedAO/raygen.comp
@@ -217,7 +217,7 @@ void main()
217
const bool validRay = any(greaterThan(throughput.rgb,vec3(FLT_MIN)));
218
if (validRay)
219
{
220
- const float err = 1.0/256.0; // TODO: improve ray offsets
+ const float err = 1.0/64.0; // TODO: improve ray offsets
221
rays[realOutputID].origin = worldPosition+direction*err;
222
rays[realOutputID].maxT = max(maxT-err,0.0);
223
rays[realOutputID].direction = direction;
0 commit comments