Advertisement Jump to content
  • Advertisement
  • entries
  • comments
  • views

Another update

Sign in to follow this  


Still playing with the parameters. I'm now simulating atmosphere colors (while waiting for a proper implementation) by alpha blending between the ground color and a blue-ish color at 80%. Clouds alpha adjusted too. Added a kind of specular effect (as seen on the left side) that does not satisfy me.

Sign in to follow this  


Recommended Comments

1) That specular highlight looks REALLY sure you've got the math right on that?

2) Have you looked at atmospheric scattering at all? I remember some people made some planet demos and adding that resulted in a significant IQ boost.

Share this comment

Link to comment
Mmm, I see what you mean on the specular. I think it's too bright. It might be right if the planet were really close to a sun or something, but then it would cover a larger area.

If I could do one thing to improve the quality of the image, I'd look into increasing the resolution of the textures used. What sizes are you currently using?

Share this comment

Link to comment

Two things are mainly wrong with the specular (it was just a quick test):

1. It's applied the same way on all surfaces (in reality ocean has more specular than land).

2. It's using the light direction to compute the specular coefficient, instead of using something that is also camera dependant.

Atmosphere scattering is on its way, maybe in a fewy days, who knows ?


The textures in these screenshots are 512x512. The window being 800x600 and the planet a bit smaller than that, it's pretty close to a 1:1 ratio. Actually i tried to increase the textures resolution to 1024x1024 and 2048x2048, it helps when the camera is closer to the planet, but at the screenshots distance, it's hard to notice a difference.

Share this comment

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!