File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed 
crates/bevy_pbr/src/atmosphere Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -268,6 +268,8 @@ impl ExtractComponent for Atmosphere {
268268    } 
269269} 
270270
271+ /// The render-world representation of an `Atmosphere`, but which 
272+ /// hasn't been converted into shader uniforms yet. 
271273#[ derive( Clone ,  Component ) ]  
272274pub  struct  ExtractedAtmosphere  { 
273275    pub  bottom_radius :  f32 , 
Original file line number Diff line number Diff line change @@ -520,8 +520,10 @@ pub(super) fn prepare_atmosphere_textures(
520520#[ error( "ScatteringMedium missing with id {0:?}: make sure the asset was not removed." ) ]  
521521struct  ScatteringMediumMissingError ( AssetId < ScatteringMedium > ) ; 
522522
523+ /// The shader-uniform representation of an Atmosphere. 
523524#[ derive( Clone ,  Component ,  ShaderType ) ]  
524525pub  struct  GpuAtmosphere  { 
526+     //TODO: rename to Planet later? 
525527    pub  ground_albedo :  Vec3 , 
526528    pub  bottom_radius :  f32 , 
527529    pub  top_radius :  f32 , 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments