zhutq Posted June 18, 2017 Share Posted June 18, 2017 Hi, I'm trying to enable/disable fresnel when user clicks, but seems not successful. Playground: http://www.babylonjs-playground.com/#RYPRCZ Thank you very much for your help! Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted June 18, 2017 Share Posted June 18, 2017 http://www.babylonjs-playground.com/#RYPRCZ#1 Quote Link to comment Share on other sites More sharing options...
zhutq Posted June 19, 2017 Author Share Posted June 19, 2017 Thank you very much. I'll go with the approach and re-create the material for now. But is it a bug or by design? The doc here https://doc.babylonjs.com/tutorials/how_to_use_fresnelparameters says isEnabled can be used to activate or deactivate fresnel effect. And it works with Babylon.js 2.5. Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted June 19, 2017 Share Posted June 19, 2017 Ping @Deltakosh can answer that but i think it is for performance( and cache ) zhutq 1 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted June 19, 2017 Share Posted June 19, 2017 Good catch! it was a bug Fixed now! zhutq and NasimiAsl 2 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.