gag
February 26, 2024, 3:52pm
1
Texture on mesh disappears on certain camera angles when over the top of a mesh with a reflection texture
Unfortunately this problem does not occur in Playground.
I have copied all playground settings including babylon js version , but problem still persists.
The materials are babylon node materials, the overlay is a png with alpha
any help would be much appreciated
Welcome aboard!
Without a repro, it will be hard to help… Are you able to provide a link on a repro somewhere, even if it’s not in the Playground?
gag
February 27, 2024, 1:44pm
3
Thanks for the repliy, Unfortunatly I can not due to work.
sebavan
February 27, 2024, 11:11pm
4
it looks like you have two meshes with alpha and there distance from the camera order would change depending on view point.
you could for an alpha index for instance to ensure the correct rendering order.
https://doc.babylonjs.com/features/featuresDeepDive/materials/advanced/transparent_rendering
2 Likes
gag
February 28, 2024, 4:28pm
5
Hi, Thanks for the repliy,I have solved the problem by just centering the overlay, Thats why it worked in Playground. I will however try the Alpha index as you suggested, Thanks again for your help
1 Like
gag
February 28, 2024, 4:57pm
6
1 Like