engine_web-ifc icon indicating copy to clipboard operation
engine_web-ifc copied to clipboard

Incorrect shadows

Open QuimMoya opened this issue 3 years ago • 3 comments

Some models expose incorrect shadows image

This image shows shadows in non-visible faces of the model. Shadows must be applied on the visible faces only

QuimMoya avatar Jan 10 '23 05:01 QuimMoya

I think that this can be fixed by using 2-face Three.js materials. The problem is that the normal of the faces of the geometries is not correct, and faces with flipped normals are not rendered.

agviegas avatar Jan 18 '23 08:01 agviegas

@QuimMoya can you attach the IFC file for reference

aka-blackboots avatar Jan 18 '23 19:01 aka-blackboots

@QuimMoya can you check this model again - I think a PR has fixed many issues to do with shadows

beachtom avatar Dec 28 '23 07:12 beachtom