You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Incorrect rendering when renderOverlay is set to true for meshes #1053
changed the title [-]Inconsistent overlay color/look for meshes[/-][+]Incorrect rendering when renderOverlay is set to true for meshes[/+]on Apr 1, 2022
Activity
bghgary commentedon Apr 1, 2022
This is what happens on the PG. I think there is some z-fighting issues in native.
https://playground.babylonjs.com/#JPXG9M
[-]Inconsistent overlay color/look for meshes[/-][+]Incorrect rendering when renderOverlay is set to true for meshes[/+]bghgary commentedon Apr 1, 2022
The issue is that renderOverlay uses zOffset which is not supported in Babylon Native yet because it's not supported in bgfx.
BabylonNative/Plugins/NativeEngine/Source/NativeEngine.cpp
Lines 806 to 808 in 762acec
Removing
bugtag.bghgary commentedon Apr 5, 2022
Log an error when this happens for now.
bghgary commentedon Oct 9, 2023
This issue probably shouldn't be closed. It is still a problem even though we added a warning.