Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: torc on June 19, 2012, 11:40:52 am
-
Hello: i wonder if it's possible to make planets glow as a secondary sun:
I mean if you wanna make a mission near to a planet atmosphere, the ships should be affected by the light emitted from the planet (that is lighted by the sun).
So, is there any way to make this effect, or to make a ''fake'' sun behind the planet without hotspots?
i tried to be much clear as possible with my bad english... :P
thanks in advance for your time.
-
Check out WIH.
-
They use "invisible" lighting "stars".
-
thanks for the info....i'll ask directly at herra Tohtori regarding that :)
-
I know SoL (which is apparently dead?) had come up with a shader for diffuse ambient environment lighting... basically the shader looks up the normal vector in a cubemap texture, and uses that as the ambient color. The cubemap contains a blurred ("diffusely convolved") version of the skybox cubemap.
You can probably find a thread about it somewhere on the forums here.
-
thanks Aardwolf