What is a sun entity ( I heard of it, but I am not sure if it exists)?
Create a light, target it at an info_null to make it a spotlight, and add "_sun" "1" to the key/value field.
It casts sunlight into your level. :)
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.
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
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.
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...