Druid Bremen Posted November 26, 2003 Share Posted November 26, 2003 What is a sun entity ( I heard of it, but I am not sure if it exists)? Link to comment Share on other sites More sharing options...
GothiX Posted November 26, 2003 Share Posted November 26, 2003 Create a light, target it at an info_null to make it a spotlight, and add "_sun" "1" to the key/value field. Link to comment Share on other sites More sharing options...
Druid Bremen Posted November 26, 2003 Author Share Posted November 26, 2003 But what IS it??? Link to comment Share on other sites More sharing options...
GothiX Posted November 26, 2003 Share Posted November 26, 2003 It casts sunlight into your level. Link to comment Share on other sites More sharing options...
Vile Posted November 26, 2003 Share Posted November 26, 2003 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. Link to comment Share on other sites More sharing options...
idontlikegeorge Posted November 27, 2003 Share Posted November 27, 2003 http://www.map-center.com/modules.php?name=Forums&file=viewtopic&t=1533 A little more specific on the subject. Link to comment Share on other sites More sharing options...
mknote Posted December 6, 2003 Share Posted December 6, 2003 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 Link to comment Share on other sites More sharing options...
idontlikegeorge Posted December 6, 2003 Share Posted December 6, 2003 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. Link to comment Share on other sites More sharing options...
lukeskywalker1 Posted December 6, 2003 Share Posted December 6, 2003 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... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.