Re: light_environment from opposite end
                        Posted by LittleGetty on 
    Tue Mar 15th 2005 at 3:32am
                     
                    
                 
                
            
            
                
    
            24 posts
        22 snarkmarks
        Registered: 
    Jan 15th 2005
                     
                
                        This is really starting to frustrate me. I add a light_environment to the corner of the map corresponding with the sun on the skybox, and when i go in-game, all the shadows are acting like the light is coming from the exact opposite end of where I put the entity. If anyone could help me, it would be very. . . . . . . helpful.
                                    
             
        
            
            
                                     
                                
                    
                        Re: light_environment from opposite end
                        Posted by rs6 on 
    Tue Mar 15th 2005 at 3:38am
                     
                    
                 
                
            
            
                
    
                    
                             rs6
                            rs6
            
                        member
     
            640 posts
        94 snarkmarks
        Registered: 
    Dec 31st 2004
                    Occupation: koledge
                            Location: New Jersey, USA
             
                
                        if its a light_environment it shouldn't matter were you put it. It should come from the sky box's sun automatically.
                                    
             
        
            
            
                                
                    
                        Re: light_environment from opposite end
                        Posted by LittleGetty on 
    Tue Mar 15th 2005 at 3:45am
                     
                    
                 
                
            
            
                
    
            24 posts
        22 snarkmarks
        Registered: 
    Jan 15th 2005
                     
                
                        Really? because the direction its coming from, thats not where the sun is.
                                    
             
        
            
            
                                     
                                
                    
                        Re: light_environment from opposite end
                        Posted by DrGlass on 
    Tue Mar 15th 2005 at 4:26am
                     
                    
                 
                
            
            
                
    
                    
                             DrGlass
                            DrGlass
            
                        member
     
            1825 posts
        632 snarkmarks
        Registered: 
    Dec 12th 2004
                    Occupation: 2D/3D digital artist
                            Location: USA
             
                
                        Check out the pitch and compass (top right of the env_light properties)
point the compass in the direction you want the sun light to come from
and then set the pitch (dont forget 0 degrees is pointing at the
horizon so if you want the sun to point down you have to set it to a
negative degree)
a good setting would be 90 degrees on the compass and -55 pitch.
                                    
             
        
            
            
                                     
                                
                    
                        Re: light_environment from opposite end
                        Posted by Natus on 
    Tue Mar 15th 2005 at 1:31pm
                     
                    
                 
                
            
            
                
    
                    
                             Natus
                            Natus
            
                        member
     
            570 posts
        76 snarkmarks
        Registered: 
    Jan 28th 2005
                            Location: Denmark
             
                
                        yeah the sun thingy is an env_sun, i havent tried it yet since the most of my maps are dark or...sunless
                                    
             
        
            
            
                                     
                                
                    
                        Re: light_environment from opposite end
                        Posted by DrGlass on 
    Tue Mar 15th 2005 at 8:19pm
                     
                    
                 
                
            
            
                
    
                    
                             DrGlass
                            DrGlass
            
                        member
     
            1825 posts
        632 snarkmarks
        Registered: 
    Dec 12th 2004
                    Occupation: 2D/3D digital artist
                            Location: USA
             
                
                        env_sun just creates the illusion of a sun on the sky box, so you have
to figure out the location of your sun and the angle it is on the sky
box and then line the two up.