NasimiAsl Posted March 3, 2015 Share Posted March 3, 2015 How can Use dFdx and dFdy in IE ( Internet Explorer 11+) error : (54, 36): Undeclared identifier 'dFdx' Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted March 3, 2015 Share Posted March 3, 2015 Just a guess on my part. I do not see the dFdx functions listed in my "WebGL Programming Guide", copyright 2013, "Built-in Functions of GLSL ES 1.0". Perhaps this is in OpenGL ES 3.0. Is there even a WebGL spec based off that yet? Finally, I thought at this level it was a graphic card driver, not a Browser one. Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted March 3, 2015 Share Posted March 3, 2015 Oh, did not see the word extension in message, only in tags after I posted. Still, isn't it up to graphics driver to support extensions? Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted March 3, 2015 Author Share Posted March 3, 2015 hi and thanks i write a code in one graphic cart and run it in ie and chrome and ie have error but chrome run it fast so it is browser problem Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 3, 2015 Share Posted March 3, 2015 are you using the latest version of IE11? because this should work (I'm using it for bump for instance) Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted March 4, 2015 Author Share Posted March 4, 2015 deer deltakosh i think babylon js change base default shader when browser not support dfdy and build bump with other way.my Ie version is : 11.0.6900.17031 if it possible test dfdx function in http://www.babylonjs.com/cyos/ here and say results . thanks Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 4, 2015 Share Posted March 4, 2015 You have to enable the feature in the shader as well with: #extension GL_OES_standard_derivatives : enable NasimiAsl 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.