Nabroski Posted June 18, 2018 Share Posted June 18, 2018 Strange flickering on a glTF mesh with DefaultEnvironment www.babylonjs-playground.com/#T7A2L7#3 Quote Link to comment Share on other sites More sharing options...
bghgary Posted June 18, 2018 Share Posted June 18, 2018 The glTF mesh is a plane that is colinear with the ground plane from the default environment. Quote Link to comment Share on other sites More sharing options...
bghgary Posted June 18, 2018 Share Posted June 18, 2018 For example, if you remove the ground from the default environment (http://www.babylonjs-playground.com/#T7A2L7#4), then it is no longer an issue. Quote Link to comment Share on other sites More sharing options...
bghgary Posted June 18, 2018 Share Posted June 18, 2018 Or you can use groundYBias to prevent this from z-fighting: http://www.babylonjs-playground.com/#T7A2L7#5 Quote Link to comment Share on other sites More sharing options...
bghgary Posted June 18, 2018 Share Posted June 18, 2018 I've updated the documentation to include this parameter: https://github.com/BabylonJS/Documentation/pull/1084 Nabroski 1 Quote Link to comment Share on other sites More sharing options...
Nabroski Posted June 18, 2018 Author Share Posted June 18, 2018 @bghgary Great. Thank you! 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.