Lighting Basics...
#11917 posted by necros on 2012/04/27 02:13:25
@necros
#11918 posted by sock on 2012/04/27 05:06:12
Such a cool article on Q1 lighting, I am glad you wrote that, thank you :)
Great 'un
Like It A Lot!
#11920 posted by wakey on 2012/04/27 13:02:38
very useful indeed!
+1
#11921 posted by ijed on 2012/04/27 14:52:00
+2
#11922 posted by Drew on 2012/04/27 16:46:48
#11923 posted by necros on 2012/04/27 18:35:23
thanks!
Awesome Necros
#11924 posted by Spirit on 2012/04/27 19:15:09
Add screenshots and it will be quad bettered.
#11925 posted by necros on 2012/04/27 19:16:30
nah, too lazy for that. :P
i already had that typed out, i just CnP'd most of it.
+3
#11926 posted by Kinn on 2012/04/27 19:33:36
very good reference. I've found I have stopped using -soft though, as it tends to smudge and flatten dramatic shadows too much (like light coming through a barred window), making things feel a little bit too uniform sometimes.
I also make heavy use of low-intensity "filler" lights as a way of creating the illusion of bounce lights - e.g. a bright delay 5 torch in a brush holder would otherwise have nasty black shadows underneath the holder, but it starts to look real nice with 1 (or sometimes as much as 4, depending on the surrounding geo) low intensity, low wait fillers around it.
I've never found a use for minlight yet, not even the local minlight.
#11927 posted by necros on 2012/04/27 19:39:14
I've found I have stopped using -soft though, as it tends to smudge and flatten dramatic shadows too much (like light coming through a barred window), making things feel a little bit too uniform sometimes.
yes, thank you for reminding me. i find there are times where -soft is detrimental as well. in general, i find it's great for outdoor areas, but ONLY if the sun is not casting long shadows.
if the sun is low in the sky, i feel it looks better without the blurring.
i'll have to add that in, that it's not necessary to always have -soft on.
about filler lights: that's cool, i had no idea other people did that! i like making arrays of lights in spherical shapes, with the lights near the center having about 5 and the ones near the edge having about 1. makes really cool fake volume lights and gives more interesting shadows because they are being accumulated from many different points.
for these, i actually use delay 3 (no attenuation).
maybe i'll write a post about these things later...
i'd be interested in hearing if anyone else has subtle lighting techniques like that.
Also
#11928 posted by Kinn on 2012/04/27 19:51:17
anyone else use antilights? I'm using them to do silly things like a sort of fake HDR (haha, it's a bit grandiose calling it that) where I have a bright light outside coming through a barred window to cast dramatic window bar shadows in the gloomy interior room. I set it up with a bright spotlight coming through the window bars, but in order not to have a big bright blob on the outside wall, I cancel it out with antilights on the outside - this gives the illusion that when you are outside, the light source doesn't seem that bright because your eyes are accustomed to it, but from the inside it seems bright outside.
#11929 posted by necros on 2012/04/27 19:54:12
i never had much luck with them, but i have not really done much testing with them. the few times i've tried using them, i ended up with poor results so i try to avoid them.
how exactly are you cancelling out the spot light... as in, what values are needed? do you guess it and tweak or can you just figuring it out based on the current values?
#11930 posted by Kinn on 2012/04/27 19:59:53
how exactly are you cancelling out the spot light... as in, what values are needed? do you guess it and tweak or can you just figuring it out based on the current values?
I should have mentioned - make sure the spotlight uses a different style to the surrounding lights, then you make the antilight use the spotlight style and it will only cancel light of that style (i.e. the spotlight) - this is a mega useful property of antilights.
with it only affecting the spotlight it makes it a lot easier to to just make an educated guess for the antlight values, eyeball it, adjust, eyeball it, adjust...I don't have a formula for this but I've found it doesn't take too many iterations until it's "good enough".
I Think In That Window Case
#11931 posted by Kinn on 2012/04/27 20:04:39
I stuck the antilight off to the side of the window, so it flooded the wall with antilight of only the spotlight style, but the angle was such that no antilight came through the window.
#11932 posted by necros on 2012/04/27 20:05:49
ohhh interesting. didn't know you could use style like that for antilights. that makes it much more useful.
btw, like the fake hdr idea. that's a great way to make interesting light without relying on sunlight to do the job for you.
Oh Also
#11933 posted by Kinn on 2012/04/27 20:09:43
you can often use antilights to mackle up some passable blob shadows to make a func integrate better into the world geo.
#11934 posted by Kinn on 2012/04/27 20:16:08
btw, like the fake hdr idea. that's a great way to make interesting light without relying on sunlight to do the job for you.
Indeed - I alway go for a rather dim "twilight" sun effect these days - Quake was never supposed to take place during the day :}
#11935 posted by negke on 2012/04/27 21:35:08
Did you check with BJP's light readme for possible addtions/corrections?
#11936 posted by necros on 2012/04/27 22:02:01
are there any? admittedly, most of that is from memory, but i did quickly check it over for any blatant errors.
actually, now you mention it, i should probably link to that as there is a lot of info in it. i just find it's not very easy to find it, being buried at the bottom of a massive changelog (some info is actually in the changelogs too...) and being mixed in with both light and vis tools.
and some info came during the development of the tools when we talked over email.
bengt is a tool genius, but his documentation is not very accessible. :)
Thoughts
#11937 posted by than on 2012/04/28 05:24:30
I use filler lights too. Pretty much every light in any of my recent levels has a bright source light with short falloff and a lower intensity (50-175, sometimes 200) light with a long falloff, which tends to look more realistic than just one light with 300 intensity placed at the source.
However, I should probably try experimenting with the different falloff types, since it's probably possible to create the same thing using a single light with an inverse falloff or what have you.
I also used inverse lights for integrating funcs, but that's about all. They are useful in some situations for sure, but I don't find myself using them that often.
minlight is useful for doing very rough level work without having to make everything fullbright. It's good for quickly testing the angle of sunlight without having the sun cast thick shadows (you want to see the underlying architecture) and a very very low minlight can look ok I think. However, in most cases it's best to not use it since I don't think you can get the level any darker than that value - even using negative lights.
#11938 posted by necros on 2012/04/28 05:41:15
aguirre's tools do allow negative lights to go below minlight, so you can darken a pit or something.
Cool
#11939 posted by than on 2012/04/28 06:00:53
I didn't realise that. I think the last time I looked in the readme it didn't allow them to go below minlight.
Teleports Without Model Preload
#11940 posted by than on 2012/04/30 11:06:02
Although I don't desperately need to save precache slots
, I was wondering about the teleport using entity only flag. In worldcraft there is no entity only flag for trigger_teleporter and I'd like to know if it's actually a hack or, if there is a flag, which number it is.
Anyone know? Negke?
There Is No Flag
#11941 posted by negke on 2012/04/30 11:14:46
You need to create a point entity, e.g. trigger_relay, set all the necessary fields (targetnames, spawnflags + 2) and change the classname to trigger_teleport.
|