Q4 - Parallel Lights and Visportals
Posted: Sun Mar 05, 2006 9:51 pm
Toldjoo I was full of questions... this one is a little more arcane.
It looks like if I use the "parallel" option on a light, it only lights up the vis node where the light entity is located (or maybe at most one node over).
Here's some comparison pics between a light that has "parallel" enabled and one that does not... in each case the light entity is in the same spot, and the light center is in approximately the same spot. (This is supposed to be sunlight BTW.) I have showportals turned on in the shots with the parallel light, but in the first and last shots that doesn't help much since the portal boundaries are larger than the screenshot. Trust me that the shadow line is right along a visportal in each case.
OK, here's a shot with the non-parallel light:
[lvlshot]http://www.neogeographica.com/temp/light_not_parallel_1.jpg[/lvlshot]
and here's with the parallel light (the top, beyond the portal, is now unlit):
[lvlshot]http://www.neogeographica.com/temp/light_parallel_1.jpg[/lvlshot]
Similarly, a couple more comparisons:
[lvlshot]http://www.neogeographica.com/temp/light_not_parallel_2.jpg[/lvlshot] [lvlshot]http://www.neogeographica.com/temp/light_parallel_2.jpg[/lvlshot]
[lvlshot]http://www.neogeographica.com/temp/light_not_parallel_3.jpg[/lvlshot] [lvlshot]http://www.neogeographica.com/temp/light_parallel_3.jpg[/lvlshot]
So... hmmm! I guess this isn't a big deal if this is the way it has to be; I can work without parallel lights. Just wondering if this is in fact the expected behavior for parallel lights and/or if there's anything else to say about it...
It looks like if I use the "parallel" option on a light, it only lights up the vis node where the light entity is located (or maybe at most one node over).
Here's some comparison pics between a light that has "parallel" enabled and one that does not... in each case the light entity is in the same spot, and the light center is in approximately the same spot. (This is supposed to be sunlight BTW.) I have showportals turned on in the shots with the parallel light, but in the first and last shots that doesn't help much since the portal boundaries are larger than the screenshot. Trust me that the shadow line is right along a visportal in each case.
OK, here's a shot with the non-parallel light:
[lvlshot]http://www.neogeographica.com/temp/light_not_parallel_1.jpg[/lvlshot]
and here's with the parallel light (the top, beyond the portal, is now unlit):
[lvlshot]http://www.neogeographica.com/temp/light_parallel_1.jpg[/lvlshot]
Similarly, a couple more comparisons:
[lvlshot]http://www.neogeographica.com/temp/light_not_parallel_2.jpg[/lvlshot] [lvlshot]http://www.neogeographica.com/temp/light_parallel_2.jpg[/lvlshot]
[lvlshot]http://www.neogeographica.com/temp/light_not_parallel_3.jpg[/lvlshot] [lvlshot]http://www.neogeographica.com/temp/light_parallel_3.jpg[/lvlshot]
So... hmmm! I guess this isn't a big deal if this is the way it has to be; I can work without parallel lights. Just wondering if this is in fact the expected behavior for parallel lights and/or if there's anything else to say about it...