DJousto Posted March 4, 2016 Share Posted March 4, 2016 Hi, i'm back with my space simulator Here it is There are two improvements that I would like to achieve : - the earth, when seen from space, is like a blue glowing sphere : like this one, the glowing level is dependent of the incidence of sunlight and the angle from the observer to the atmosphere, how could I simulate this with babylon ? - I've applied an emissive texture that represent the night illuminations, problem is that illuminations in reality are inversely proportional to sun illumination (during the day most lights are off), how could I simulate that ? adam 1 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 4, 2016 Share Posted March 4, 2016 1. You can use fresnel for that: http://www.babylonjs.com/Demos/planet/ or (random PG with fresnel: http://www.babylonjs-playground.com/#1180R5#8) 2. You will need a custom shader here Quote Link to comment Share on other sites More sharing options...
DJousto Posted March 5, 2016 Author Share Posted March 5, 2016 Thank you David. The flares sytem from the demo are also "cool", I integrated them i my code For 2) I'll have to read your blog ... bye. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 5, 2016 Share Posted March 5, 2016 yeah:) 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.