Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Light system (Point)
DIGI Byte Offline
Senior Member

Posts: 376
Threads: 20
Joined: Dec 2010
Reputation: 1
#1
Solved: 8 Years, 1 Month ago Light system (Point)

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

.jpg   point light cant cast shadows.jpg (Size: 57.83 KB / Downloads: 153)
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
(This post was last modified: 01-02-2011, 12:28 AM by DIGI Byte.)
01-01-2011, 03:08 PM
Find
Spooder Wekd Offline
Senior Member

Posts: 365
Threads: 10
Joined: Aug 2010
Reputation: 0
#2
Solved: 8 Years, 1 Month ago RE: Light system (Point)

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
Website Find
DIGI Byte Offline
Senior Member

Posts: 376
Threads: 20
Joined: Dec 2010
Reputation: 1
#3
Solved: 8 Years, 1 Month ago RE: Light system (Point)

(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
01-02-2011, 02:51 AM
Find
Sexbad Offline
Posting Freak

Posts: 1,197
Threads: 40
Joined: Jun 2009
Reputation: 18
#4
Solved: 8 Years, 1 Month ago RE: Light system (Point)

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

[Image: jao3z.jpg]
01-02-2011, 03:04 AM
Website Find
DIGI Byte Offline
Senior Member

Posts: 376
Threads: 20
Joined: Dec 2010
Reputation: 1
#5
Solved: 8 Years, 1 Month ago RE: Light system (Point)

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
(This post was last modified: 01-02-2011, 03:20 AM by DIGI Byte.)
01-02-2011, 03:11 AM
Find
Spooder Wekd Offline
Senior Member

Posts: 365
Threads: 10
Joined: Aug 2010
Reputation: 0
#6
Solved: 8 Years, 1 Month ago RE: Light system (Point)

(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...
(This post was last modified: 01-02-2011, 04:20 AM by Spooder Wekd.)
01-02-2011, 04:18 AM
Website Find




Users browsing this thread: 1 Guest(s)