Atmosphere Code
Posted: 18.10.2008, 18:17
Im not sure what Im doing here so maybe some of you who are more familiar can point me in the right direction... I am trying to use the new atmosphere code to generate the nicer atmosphere effects to no avail... I seem to be able to botch something somewhat close but it seems I am unable to figure out the right specs for a smooth gradient... I end up with a sharp edge on entry into the atmosphere the higher the sky the sharper the edge... I am assuming this was made more for smaller planets than large Jovian ones...
Here is what I am working with so far...
The higher I set green the more it dissapears it seems still leaving a small edge of it the higher I go... Of course I would like the sky color to show up and it does the lower I set the green color... So I think I am not calculating this correctly... If anyone can set me in the right direction it would be greatly appreciated!
Here is what I am working with so far...
Code: Select all
Atmosphere {
Height 500
Lower [ 0.43 0.2 0.5 ]
Upper [ 0.26 0.1 0.4 ]
Sky [ 0.4 0.1 0.0 ]
Sunset [ 0.0 0.1 0.3 ]
Mie 0.0001
MieAsymmetry -0.25
Rayleigh [ 0 1 0 ]
MieScaleHeight 120
}
The higher I set green the more it dissapears it seems still leaving a small edge of it the higher I go... Of course I would like the sky color to show up and it does the lower I set the green color... So I think I am not calculating this correctly... If anyone can set me in the right direction it would be greatly appreciated!