I am trying to draw a mask using a mesh, but I cannot seem to get rid of what appears to be ambient occlusion or some kind of spot (black sometimes) that appears at the intersection of the box that I am using as a mask. The spot turns to black when the light direction is toward the mask.
Here is what it looks like:
It doesn’t appear to be shadow, because I turned off all shadow drawing. I tried turning off ambient occlusion using r.AmbientOcclusionLevels=0, and that didn’t work either. Anyone know what this is or how to turn it off?
The only thing I did was turn off “Render in Main Pass” and “Render in Depth Pass” on one of the boxes.
However, it does this even if you leave those settings enabled, if you look inside of the box like so: