apptaro Posted July 29, 2018 Share Posted July 29, 2018 Load a GLTF model, change PBRMaterial to StandardMaterial, then faces are flipped. It looks a bug to me, but any idea? See http://www.babylonjs-playground.com/#9WNCI9#1 The GLTF file is validated. The material's backFaceCulling is copied. Quote Link to comment Share on other sites More sharing options...
apptaro Posted July 30, 2018 Author Share Posted July 30, 2018 Fixed the cross domain security issue. Now you can see: http://www.babylonjs-playground.com/#9WNCI9#1 Quote Link to comment Share on other sites More sharing options...
Guest Posted July 30, 2018 Share Posted July 30, 2018 it is not a bug. glTF is right hand based so you need to change the culling mode of your material to CW (with SideOrientation property): http://www.babylonjs-playground.com/#9WNCI9#2 Quote Link to comment Share on other sites More sharing options...
apptaro Posted July 31, 2018 Author Share Posted July 31, 2018 @Deltakosh Thank you very much, that fixed my issue. I didn't notice SideOrientation property. GameMonetize 1 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.