Koroldev Posted May 8, 2017 Share Posted May 8, 2017 Hi guys! I have small problem, If I dispose WorldSpaceCanvas2D, material from canvas stay on the scene Example http://www.babylonjs-playground.com/#JG2PA5, you need look in console, you can see after disposing canvas the material on scene "myCanvas_Material" How I can dispose this material? Thanks! Quote Link to comment Share on other sites More sharing options...
Temechon Posted May 9, 2017 Share Posted May 9, 2017 Hi ! You can do something like this : http://www.babylonjs-playground.com/#JG2PA5#1 ping @Nockawa to check if it's the intended behaviour in canvas2D. Koroldev 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.