Env_sun + shadows? What is wrong?
The sun should make the the props, i have placed, cast shadows.
I have made the sky with the skybox but the sun is not visual!

It does not cast shadows at the floor

Before i got the white sky, i managed to make a sun. On the pictures above i have done excactly the same as here

What i am using:
A 3D-skybox with the white skybox-texture
An info_target called "target"
An env_sun pointing at "target"
A light_enviroment pointing at "target"
Props to cast the shadows
What do i do wrong?
Vordwann wrote:
Why do you need a 3d skybox?
I dont? I've searched around the net to find a tutorial, and in every tutorial they use a 3D-skybox... Can you give me a quick tutorial without 3D Skybox?
iWork925 wrote:
Um wtf? Delete sun. That shit looks stupid. Make an env_projectedtexture and point it downwards. Better yet decompile the second valve SP map and steal they're one. Looks like a gel sprayer thingy just below the skybox.
Nice thank you... I'll check it out right away!
Rubrica wrote:
Actually, the way vVave maps do it is by using a light_environment; look them up on the VDC or find my tutorial thread (it should be buried somewhere around here, I might find it for you in a minute).
It would help me alot! ![]()
Rubrica wrote:
Actually, the way vVave maps do it is by using a light_environment; look them up on the VDC or find my tutorial thread (it should be buried somewhere around here, I might find it for you in a minute).
Um, no. If you ACTUALLY look (and by actually I mean ACTUALLY!) at an early Valve map. They use projected texture as well as the light_environment. The projectedtexture casts those hard raytraced shadows which live update. Looks awesome.
You wont achieve much with just a light_environment.
spongylover123 wrote:
Actually, in some of their maps, they use both a light environment and a sun, though some don't depends on the map and the mapper
Instead of discussing what Valve are using, could you then tell me how to make the sun effect? I think its very cool but i remake it! Please.
If everything is already white, you couldn't localizie the sun.
Imagine you are in a dark room with just a small window and outside its very bright, like a hot summer day. If you just see "white" how should you be able to see the sun if already "everything" is the sun?
Skotty wrote:
Env_sun has just effect to the player if you can actually see a sky, not a white or black background.
If everything is already white, you couldn't localizie the sun.
Imagine you are in a dark room with just a small window and outside its very bright, like a hot summer day. If you just see "white" how should you be able to see the sun if already "everything" is the sun?
You've got a point, bit i've Aldi tried other types of skybox, like a nightsky with Stars. Can you tell me, d? i have to have a 3D-skybox to make the player get a visual Sun?