my sun doesnt work.

  • Thread starter Thread starter Seraphim19
  • Start date Start date
S

Seraphim19

Guest
hey look at these screenshots and tell me how to fix my sun. the first one indcates my entities, the second is the actual sun and the 3rd is where the sun is illuminating. whats the deal?

capture4tg.jpg

deshizza00011sp.jpg

deshizza00095pn.jpg





how do i fix this bizzah
 
Hmm.. looks like your enviroment lighting is pointing almost horizontal (check its properties), have you checked degrees where it is pointing? Im in work now and cant remember that exact thingies for this.

Here, take a look:
light environment properties
Pitch Yaw Roll (Y Z X) angles(angle) - default: 0 0 0
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
Pitch pitch(integer) - default: 0
The downward pitch of the light from the sun. 0 is horizontal, -90 is straight down.
Brightness _light(color255) - default: 255 255 255 200
Ambient _ambient(color255) - default: 255 255 255 20
 
you need to define an entity so the sun can be uhh rendered in from its viewpoint
 
just give the env_sun the same angles as the light_env... though i think if you use the point at button it makes the first number negative, so delete the minus for both those, i think.. hmm no.. hmm i dunno, its buggy, there :p
 
From the looks of that, your light_environment is on the floor, pointing at a target that's also on the floor. That means that the level lighting will be horizontal - and that's exactly how it looks in your third picture.

Raise your light_environment a bit.
 
Seraphim19 said:
can you not see that target entity?

why is it so close to the sun entity? do you even never mind go away
 
Pi Mu Rho said:
From the looks of that, your light_environment is on the floor, pointing at a target that's also on the floor. That means that the level lighting will be horizontal - and that's exactly how it looks in your third picture.

Raise your light_environment a bit.

Last time I checked, light_environment's come from the skybox, so it doesn't matter where you put it.

Although I could be wrong...
 
If his light_environment is set up to aim at a specific info_target, then raising it would increase the angle.
 
Back
Top