brean Posted October 26, 2018 Share Posted October 26, 2018 Hi, I like to have a plane in the background that always fills the screen, so it should move when the camera moves (that one is still easy, just copy x/z-position of the camera) but it should also always fill the full screen, Can you tell me how I calculate the width/hight of the plane in babylon-dimensions based on the pixel width/height of the canvas as well as the camera distance? Quote Link to comment Share on other sites More sharing options...
JohnK Posted October 26, 2018 Share Posted October 26, 2018 Hi @brean and welcome to the forum. How about a very simple solution just use an extremely large plane and let the engine take care of how much is rendered. Try it and see if it has any adverse effects. Quote Link to comment Share on other sites More sharing options...
brean Posted October 26, 2018 Author Share Posted October 26, 2018 @JohnK hey, that actually works quite well! Thank you! ? 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.