Hi,
as you can see in the attached image, I have some strange problems with my Shader.
As long as there is no other object around everything works fine.. but as soon as there are some objects close to the one with my shader, I get those white areas.
I now found out, it's because of the traceForward method.
When I call the BRDFShader::traceForward() method from within my own traceForward method I get those results.
It looks like, the traceForward method is doing some reflection-stuff, because in the Reflection and ReflectionRaw renderElements are the same errors..
But the strange thing is, it only happens for some buckets of the rendering.. and only sometimes, not everytime.
So I think it is because of some uninitialised variable or something...
Any idea what I can do?
Do I have to do something special if I want a shader without reflections? (But I have to use BRDF, because I want GI - and I thing I need the traceForward method for GI)
Aya~
as you can see in the attached image, I have some strange problems with my Shader.
As long as there is no other object around everything works fine.. but as soon as there are some objects close to the one with my shader, I get those white areas.
I now found out, it's because of the traceForward method.
When I call the BRDFShader::traceForward() method from within my own traceForward method I get those results.
It looks like, the traceForward method is doing some reflection-stuff, because in the Reflection and ReflectionRaw renderElements are the same errors..
But the strange thing is, it only happens for some buckets of the rendering.. and only sometimes, not everytime.
So I think it is because of some uninitialised variable or something...
Any idea what I can do?
Do I have to do something special if I want a shader without reflections? (But I have to use BRDF, because I want GI - and I thing I need the traceForward method for GI)
Aya~
Comment