levere Posted June 27, 2018 Share Posted June 27, 2018 Would someone tell me what is happening here when I combine the dynamic map example (https://www.babylonjs-playground.com/#FJNR5#162) with a ShaderMaterial, when 'needAlphaBlending' is set to true? https://www.babylonjs-playground.com/#FJNR5#226 I can see parts of the terrain through itself, depending on the camera angle. Can this be corrected? Quote Link to comment Share on other sites More sharing options...
Guest Posted June 27, 2018 Share Posted June 27, 2018 Hello this is a general question regarding how transparency works. This article can help: http://doc.babylonjs.com/resources/transparency_and_how_meshes_are_rendered Quote Link to comment Share on other sites More sharing options...
jerome Posted June 28, 2018 Share Posted June 28, 2018 it seems less visible with the backfaceculling : https://www.babylonjs-playground.com/#FJNR5#227 anyway, if you need at some cost a real facet depth sort : http://doc.babylonjs.com/how_to/how_to_use_facetdata#facet-depth-sort 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.