Valkan Posted November 26, 2018 Share Posted November 26, 2018 Hello everyone, When I display a sprite in front of a mesh that has emissiveTexture or emissiveColor, the mesh can be seen through the sprite. for example : https://www.babylonjs-playground.com/#4H81K3 Is there a way to occlude the emissive object with a sprite (prevent the emissive mesh to be seen through the sprite)? Quote Link to comment Share on other sites More sharing options...
Sebavan Posted November 26, 2018 Share Posted November 26, 2018 Unfortunately both highlight and glow layers do not support sprites nor particles. This is for perf reasons as the scene need to be rendered several times and we avoid rendering none meshes or transparent objects. Valkan 1 Quote Link to comment Share on other sites More sharing options...
Valkan Posted November 26, 2018 Author Share Posted November 26, 2018 OK, thank you for the answer. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.