File tree Expand file tree Collapse file tree 1 file changed +1
-19
lines changed Expand file tree Collapse file tree 1 file changed +1
-19
lines changed Original file line number Diff line number Diff line change @@ -3026,25 +3026,7 @@ void Renderer::renderStar(const Star& star,
30263026 rp.radius = star.getRadius ();
30273027 rp.semiAxes = star.getEllipsoidSemiAxes ();
30283028 rp.geometry = star.getGeometry ();
3029-
3030- Atmosphere atmosphere;
3031-
3032- // Use atmosphere effect to give stars a fuzzy fringe
3033- if (star.hasCorona () && rp.geometry == InvalidResource)
3034- {
3035- Color atmColor (color.red () * 0 .5f , color.green () * 0 .5f , color.blue () * 0 .5f );
3036- atmosphere.height = radius * CoronaHeight;
3037- atmosphere.lowerColor = atmColor;
3038- atmosphere.upperColor = atmColor;
3039- atmosphere.skyColor = atmColor;
3040-
3041- rp.atmosphere = &atmosphere;
3042- }
3043- else
3044- {
3045- rp.atmosphere = nullptr ;
3046- }
3047-
3029+ rp.atmosphere = nullptr ;
30483030 rp.orientation = star.getRotationModel ()->orientationAtTime (observer.getTime ()).cast <float >();
30493031
30503032 renderObject (pos, distance, observer,
You can’t perform that action at this time.
0 commit comments