ospray
ospray copied to clipboard
Dark artefacts
Hello everybody,
I encounter a problem when I applied the normal of my models. There is dark artifacts appearing on the edges of my dragons and weird black shapes on the bottom geometries. It's especially surprising because the geometry of the sphere at the top is the same as the ones on the sides.
Does anybody have an idea of why these dark artifacts appears ? Thank you in advance !
hi, yes unfortunately this is a known issue with shading normals at grazing angles. @johguenther ?
Those artifacts can happen if the shading normals deviate much from the true geometry normal and in combination with the material. What material do you use, is this Principled (diffuse with clearcoat)? Odd that the hemispheres and hemi-cylinders of the pedestal look facetted – could you check the vertex normals (e.g. via debug renderer with method
=Ns
).
I realized that the problem on the hemi-cylinders and hemispheres was partially due to a miss calculation in my normal transform matrix. But the problem is still present on grazing angles. Currently I'm using a pathtracer-principled material with only an ior of 1.5. I'm sorry, I do not see in the documentation where to look for a debug renderer, by the way I'm using an pathtracer renderer. But I have verified the normals on blender and they are good. Now it looks like this :
Do you think I could tweak some ospray/renderer values (like pixelSamples) to fix this problem ?