Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Light system (Point)
Author Message
DIGI Byte Offline
Senior Member

Posts: 378
Joined: Dec 2010
Reputation: 1
Post: #1
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: 30)
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 all posts by this user Quote this message in a reply
Spooder Wekd Offline
Senior Member

Posts: 366
Joined: Aug 2010
Reputation: 0
Post: #2
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
Visit this user's website Find all posts by this user Quote this message in a reply
DIGI Byte Offline
Senior Member

Posts: 378
Joined: Dec 2010
Reputation: 1
Post: #3
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 all posts by this user Quote this message in a reply
Sexbad Offline
Posting Freak

Posts: 1,200
Joined: Jun 2009
Reputation: 15
Post: #4
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
Visit this user's website Find all posts by this user Quote this message in a reply
DIGI Byte Offline
Senior Member

Posts: 378
Joined: Dec 2010
Reputation: 1
Post: #5
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 all posts by this user Quote this message in a reply
Spooder Wekd Offline
Senior Member

Posts: 366
Joined: Aug 2010
Reputation: 0
Post: #6
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
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)