Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Sun?????

Page: 1 of 1
 Druid Bremen
11-26-2003, 6:51 AM
#1
What is a sun entity ( I heard of it, but I am not sure if it exists)?
 GothiX
11-26-2003, 9:31 AM
#2
Create a light, target it at an info_null to make it a spotlight, and add "_sun" "1" to the key/value field.
 Druid Bremen
11-26-2003, 12:18 PM
#3
But what IS it???
 GothiX
11-26-2003, 12:48 PM
#4
It casts sunlight into your level. :)
 Vile
11-26-2003, 1:41 PM
#5
it is a lot more fancy than just setting the ambient in worldspawn to say 200, allows for better shadows and such, can give a time of day as well.
 idontlikegeorge
11-26-2003, 8:11 PM
#6
 mknote
12-05-2003, 8:16 PM
#7
On the website shown in the post above, it says to set surface peramaters to 0. How do I do that? Furthermore, what does it do?

MK
 idontlikegeorge
12-05-2003, 10:32 PM
#8
Actually, that isn't necessary...
I think it's if the sky shader has that parameter, then you should manually turn it off for faster compile times, since with the sun entity, you don't need to have the surfacelight parameter on, but it will still use that parameter while compiling light.

I think it would be a setting in the shader file... I haven't done it myself, because the sky shaders I have used did not have that parameter set anyway, sorry.
 shukrallah
12-05-2003, 11:27 PM
#9
i think for the sun to work you need a sky box, cause i made a map, and didnt want to put a few hundred lights in it, and it was just one room, so i figured i would put a sun in it. So i did, but it didnt work :( i guess it HAS to have a sky box...
Page: 1 of 1