Wemperer2 Posted December 11, 2014 Share Posted December 11, 2014 There is a strange bug I'm experiencing where I set a foreground layer var foreground = new BABYLON.Layer("back0", "images/parchmentMap.jpg", scene, false, new BABYLON.Color4(1, 0, 0, 1)); then when I delete it with dispose(), all my sprites turn to the image used in the layer (but without the color). While i'm here, How would I go about getting my sprites to appear on top of this foreground layer? I would use a background but I want to cover everything on the screen temporarily and display the sprites on top of the foreground image without deleting the scene. Quote Link to comment Share on other sites More sharing options...
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.