This is my first try of any shader ( I don't know how shaders and materials work realy) but this one is effecting it with some sort of lightsource. I applied this shader to my planet earch model ( with a colored skin and a bumpmapped skin)

planet is lit by a dynamic light at level origin and planet rotates on its axis aprox once every minute. the lit up area on the model is also rotating around the model but at a slower rate then the model rotation speed ( imagine a flashlight orbiting the planet at a slower rate then 1 minute per orbit) thats the sort of effect I'm getting from this shader. any ideas what can be causing it?


earth model with bumpmap shader. lite up area not facing level origin


same model without shader effect on it at reversed angle from the above pic ( lit up area is facing dynamic light.)


bump mapped revese angle towards sun ( dynamic light) shows the lighted surface comaired to 1st pic shifts location.


BTW anyone know of a good effect to create a corona or flaring effect to the sun model?