atmosphere
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 15
- Joined: Fri, 5. Sep 14, 05:48
atmosphere
how to you change the color of the planets atmosphere? I tried messing with the color_Atmo line in material libraries buy have had no luck. Please help explain.
-
- Posts: 33
- Joined: Tue, 15. Aug 17, 22:08
Re: atmosphere
Reading through the shader code for the planet atmospheres, it does take two input colors - but ONLY the first is used! I'm not familiar with how an asset talks to the rendering though, so I can't help you on that front. Be aware it's a Rayleigh (without the Mie part) scattering approximation, so if you feed it an orange Mars like color you will get blue sunsets, a green Titan like color will give you pink violet sunsets and a blue Earth like atmosphere will give you golden reddish sunsets. This is physically correct, and awesome I think, but it removes a lot of artistic freedom.