macguyvok Posted October 25, 2014 Share Posted October 25, 2014 I'm a bit new to Babylon.js, and WebGL development (though I've been working on 3D game projects for several years). My current project is a 3D space game, and I'm attempting to make a skybox. I followed the tutorials linked on the wiki, and was surprised to find that there was no mention of how to make the skybox stay a fixed distance from the camera, or render before everything else. After some digging around, I found mesh.infiniteDistance; this seems to solve half of my problem. What I'm unsure about, however, is how to make the skybox render before everything else in the scene? For those curious, this is what happens without doing that: Needless to say, it'll be hard to play a game with ships popping in and out of existence. Any ideas? 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.