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 @@ -3029,25 +3029,7 @@ void Renderer::renderStar(const Star& star,
30293029        rp.radius  = star.getRadius ();
30303030        rp.semiAxes  = star.getEllipsoidSemiAxes ();
30313031        rp.geometry  = star.getGeometry ();
3032- 
3033-         Atmosphere atmosphere;
3034- 
3035-         //  Use atmosphere effect to give stars a fuzzy fringe
3036-         if  (star.hasCorona () && rp.geometry  == InvalidResource)
3037-         {
3038-             Color atmColor (color.red () * 0 .5f , color.green () * 0 .5f , color.blue () * 0 .5f );
3039-             atmosphere.height  = radius * CoronaHeight;
3040-             atmosphere.lowerColor  = atmColor;
3041-             atmosphere.upperColor  = atmColor;
3042-             atmosphere.skyColor  = atmColor;
3043- 
3044-             rp.atmosphere  = &atmosphere;
3045-         }
3046-         else 
3047-         {
3048-             rp.atmosphere  = nullptr ;
3049-         }
3050- 
3032+         rp.atmosphere  = nullptr ;
30513033        rp.orientation  = star.getRotationModel ()->orientationAtTime (observer.getTime ()).cast <float >();
30523034
30533035        renderObject (pos, distance, observer,
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments