Samuel Girardin Posted April 10, 2015 Share Posted April 10, 2015 Hi, I've just notice a strange behavior about using zOffset with materials. Works with Chrome and firefox : http://www.babylonjs-playground.com/#1NYKLE#3 (we see only the red sphere with material at zoffset = -1 The same playground in IE display the grey sphere. To make it works with IE, I have to put sphere2 material at zoffset = 1 (http://www.babylonjs-playground.com/#1NYKLE#4 ) Is that normal, or I'm missing something ? Sam Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted April 10, 2015 Share Posted April 10, 2015 It only shows the red sphere in Safari. I remember I saying I heard: "If is happening only in one browser, then …" Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted April 10, 2015 Share Posted April 10, 2015 Works in Spartan like in Chrome and Firefox, so this is likely a bug in IE Samuel Girardin 1 Quote Link to comment Share on other sites More sharing options...
Temechon Posted April 10, 2015 Share Posted April 10, 2015 Decals are flicking a lot in IE... http://www.babylonjs-playground.com/#1XZ7G5 Is it due to zoffset too ? I use decals for a project of mine that should work in IE :'( A workaround could be to update the decal position with the normal direction, don't you think ? Quote Link to comment Share on other sites More sharing options...
Samuel Girardin Posted April 10, 2015 Author Share Posted April 10, 2015 Hi Temechon, one solution for IE ()=> http://www.babylonjs-playground.com/#1XZ7G5#1 Just set the ground material z offset at 1 and your dmat z offset at -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.