BabylonJS / BabylonJS/BabylonNative

Incorrect rendering when renderOverlay is set to true for meshes

Open
#1,053 4 comments 0 reactions 0 assignees View on GitHub
rendering
Dominant language
C++
Stars
919
Forks
162
Avg merge
1d 15h
Merged PRs (30d)
19

Description

In BabylonReactNative, when you set renderOverlay to true for a mesh, the overlay will display with inconsistent color across the mesh:
**iOS**
![ios.png](https://images.zenhubusercontent.com/5dc1be60a240680001cc1efe/91f05b9a-0abf-4c70-b025-32f502e62021)
**Android**
![android.png](https://images.zenhubusercontent.com/5dc1be60a240680001cc1efe/b40502ed-a5fc-43a0-ba07-bcdc38221ec3)

**Note: This behavior is _not_ present in BabylonNative.**
# Bugs
### Repro:
Set renderOverlay to true for one of the meshes in App.tsx
#### Expected result:
Uniform overlay look and color
#### Current result:
See pics above

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.