Temechon Posted March 30, 2015 Share Posted March 30, 2015 Hello, I try to dispose() a material with a diffuseTexture, but I have several warning in my js console : WebGL: INVALID_OPERATION: texImage2D: no textureWebGL: INVALID_OPERATION: texParameter: no textureWebGL: INVALID_OPERATION: texParameter: no textureWebGL: INVALID_OPERATION: generateMipmap: no textureRepro case : http://www.babylonjs-playground.com/#ATHUZ Do you know why ? Should I pay attention to these warnings, or can I ignore them completely ? Thanks Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 30, 2015 Share Posted March 30, 2015 So far this is not a problem but this should not append. I'll check that for you Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 30, 2015 Share Posted March 30, 2015 Ok found the issue:) this is when you referenced the texture (add an opening /)mat.diffuseTexture = new BABYLON.Texture("/textures/grass.jpg", scene); 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.