What issue are you having? Describe what is happening when the bug occurs. Describe what you would normally expect to occur.
I have uploaded several meshes in the past months and ever since I set Shadow Map as my lighting configuration, dark spots appeared on most of the meshes.
Does the bug happen 100% of the time?
The dark spots are present on the affected meshes 100% of the time.
This happened to me after I set some meshes to be “Automatic” in their RenderFidelity property, which seems to have completely broken the shadow system for these meshes.
Places affected have a “negative shadow” as well.
This is happening in our game as well, with RenderFidelity on all meshes set to Automatic.
Also getting the same “negative shadow” in some places, like @TheRings0fSaturn mentioned.
It seems almost as if the mesh is casting a shadow onto itself? Maybe the different LOD meshes are casting shadows onto each other or something? As a temporary fix, it seems like making small changes in the mesh and reuploading can sometimes solve the problem.
It just looks awful with many useless faces and senseless normals which often cause shadow issues.
Here is a union structure I made in Roblox and its remake in Blender with the boolean modifier and then triangulated with the fastest method (couldn’t directly use the output of “Export as .obj” as the individual parts are separated into multiple meshes representing individual sides).
The triangle count is almost by a quarter smaller, the result has perfect normals and the edges are also much cleaner. Also CSGv1 and v2 treat touching faces as something that shouldn’t be joined.
Just a note: I made sure that the UV-Spheres have a triangle count as close as possible to the Roblox’s spheres.
Just a note that the shadowmap issues are unrelated to the CSG algorithm etc. - they are the artifact of us not handling level of detail cleanly. There’s a fix for this that will ship in the next few weeks.
The bug report already exists.
What I’m saying is that those mushed up faces tend to make this issue even more noticeable as you can clearly see the irregularities. This is only an issue with shadow maps.
The CSG method itself is excellent. The issue comes from conversion between parts and unions.