Griff - do you mind if I include this in the sample SHADY_PLANETS oxp , for use as reference in getting planets with shaders and materials working ?Griff wrote:From lusting after the lovely planet screenshots going up in the 'progress' thread i dug out the old Earth example shader (based on the example shader in ATI's Rendermonkey) and added in a small rim light atmosphere effect i pinched off a shader tutorial website
Also - regarding rim atmosphere effects , I have seen some use of a clever vertex shader to simulate this effect also (it does require additional geometry - perhaps the oolite planet atmosphere could use a similar method).
The code I think I found here
http://rapidlibrary.com/files/spo-sandb ... i89on.html
It produces an atmosphere halo like this
I've yet to reproduce this with Oolite however I think with a couple of uniform bindings (radius and atmosphere radius) for the planet entity, it would be feasible.