Frictional Games Forum (read-only)

Full Version: Light system (Point)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Ok, this is mainly to the Dev's and anyone else that's familiar with level editing.

Point lights suck!

I'm trying to use them but the light ALWAYS clips through everything, any surface that's within its radius catches the light, EVEN if its behind walls and so on
[attachment=978]
Seriously.... WHY!?

why is it cutting through? is there a fix for this?
am I doing something wrong?

and box light does some NASTY stuff too, the light in a box light, if aligned perfectly with a floor or a wall, the lighting tears with the texture
In the developer commentary, they mentioned this was to cut down on shadow rendering, which allows the game to run better. I cannot remember how they said they worked around it though! Tongue
(01-02-2011, 02:02 AM)Spooder Wekd Wrote: [ -> ]In the developer commentary, they mentioned this was to cut down on shadow rendering, which allows the game to run better. I cannot remember how they said they worked around it though! Tongue

they shouldn't cast shadows, they should just not cast light in areas when something is blocking it

It needs to be fixed, one way or another
Well, without shadow technology, how would lights know what is blocking them and what isn't? There's an HPL3 tech blog post about having a workaround for this sort of problem in the next game
I still think the game engine needs another patch for us with custom stories... to bring it too 1.35
fix/enhance shadow casting for spotlight
enable shadow and light render clipping for point light
weapons and hot-keys defined in a custom stories settings
Gui interfaces for player interaction

It wont affect the main campaign, the point lights should have a new tick-box enabled feature for shadows and light render clipping after all not all point lights need it, same goes for box light... if you alight it with a wall or floor perfectly... its going to have tearing between raw light and no light
(01-02-2011, 02:51 AM)DIGI Byte Wrote: [ -> ]they shouldn't cast shadows, they should just not cast light in areas when something is blocking it

That is EXACTLY what a shadow is...
(01-02-2011, 03:04 AM)Lee Wrote: [ -> ]Well, without shadow technology, how would lights know what is blocking them and what isn't?

The same way that an object can me solid or not. If there is a class for walls and it is not included in the shadow drawing function, then they just won't cast shadows...