I am trying to create a realistic planet simulation. I have managed to get most of it to work pretty well, although the lighting is not really realistic.

I need to implement a lighting model that incorporates backscatter to make it truly realistic. I was wondering if anyone knows how/if it is possible to change the default lighting model in opengl.


Do you mean global lighting, like the light reflected of an illuminated object? that’s a very non-trivial problem, and ogl doesn’t have any way, inherently, to do so. It must be implemented on a higher level. That’s a post to put on the advanced forum, but ask for good global lighting solutions, not backscatter .