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


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LIGHT HELP
G510s Offline
Banned

Posts: 58
Threads: 32
Joined: Jun 2014
#1
LIGHT HELP

when i put any source of light next to a wall it bleeds into the room next to it. how can i prevent that from happening?
12-10-2014, 03:51 AM
Find
Kreekakon Offline
Pick a god and pray!

Posts: 3,063
Threads: 70
Joined: Mar 2012
Reputation: 124
#2
RE: LIGHT HELP

In a sense this problem cannot be "flawlessly fixed" simply due to the fact of how lights work in HPL2. They don't cast a beam of light which then interacts with the environment. It simply points to a specified area, and tells the whole area to "light up" regardless of what the rest of the environment looks like.

I can only say that something like this can only be prevented by putting more thought into designing your levels, and placement of lights so that something like this does not occur.

[Image: Tv0YgQb.gif]
Image by BandyGrass
12-10-2014, 06:14 AM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#3
RE: LIGHT HELP

But hey! It's great that you noticed it!
Some make the mistake and just ram some light in there, thinking it's going to be ok.

Thing is, it won't.


Lightning in HPL takes some time, until you get used to it. Remember: There's no shame in having a bit more than just one point light. You can have smaller ones. And one big one in the middle of the room, to give the feeling that the light is dynamic and looks cool!

Play with it.

Trying is the first step to success.
12-10-2014, 04:55 PM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#4
RE: LIGHT HELP

Actually!
There is a BLACK and if you put this behind your walls\floors\ceilings, the lights will NOT pass trough!
ONLY spotlights though!
Pointlight should be places more carefully.

Actually;
It IS the black plane :Filename="static_objects/technical/plane_black/plane_black.dae">
It can be found in Static_objects\Technical.
be free to use it.
HERE is WITH plane, you can see NO light is passing trough!
[Image: 2gxh92w.jpg]
-
AND
-
HERE is WITHOUT\HALFH of the plane.
[Image: 15d7upc.png]
(This post was last modified: 12-10-2014, 05:20 PM by DnALANGE.)
12-10-2014, 05:05 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#5
RE: LIGHT HELP

(12-10-2014, 05:05 PM)DnALANGE Wrote: ONLY spotlights though!
Pointlight should be places more carefully.

Yea...
Point lights was what he meant, I'm pretty sure.


You don't need to place the plane_black.mat plane between walls to make spotlights not go through. Just tick "Cast Shadows" and everything should be fine.

Trying is the first step to success.
12-10-2014, 06:33 PM
Find
Newsman Waterpaper Offline
Senior Member

Posts: 735
Threads: 20
Joined: May 2013
Reputation: 39
#6
RE: LIGHT HELP

(12-10-2014, 06:14 AM)Kreekakon Wrote: In a sense this problem cannot be "flawlessly fixed" simply due to the fact of how lights work in HPL2. They don't cast a beam of light which then interacts with the environment. It simply points to a specified area, and tells the whole area to "light up" regardless of what the rest of the environment looks like.

I can only say that something like this can only be prevented by putting more thought into designing your levels, and placement of lights so that something like this does not occur.

Or he can make the pointlight smaller that it doesn't leak into the another room.
12-10-2014, 07:50 PM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#7
RE: LIGHT HELP

(12-10-2014, 06:33 PM)FlawlessHappiness Wrote:
(12-10-2014, 05:05 PM)DnALANGE Wrote: ONLY spotlights though!
Pointlight should be places more carefully.

Yea...
Point lights was what he meant, I'm pretty sure.


You don't need to place the plane_black.mat plane between walls to make spotlights not go through. Just tick "Cast Shadows" and everything should be fine.
Well...
I would suggest to USE shadows, making it WAY more beautiful and realistic.
AND, you WILL see the lights go trough teh walls and ceiling!.
I know, i have it in my maps, and this fixed all of them.
(This post was last modified: 12-10-2014, 08:45 PM by DnALANGE.)
12-10-2014, 08:44 PM
Find
G510s Offline
Banned

Posts: 58
Threads: 32
Joined: Jun 2014
#8
RE: LIGHT HELP

thank you guys for all the help. i will be sure to try all of your ideas. i will let you know how it goes.
Smile
12-10-2014, 10:56 PM
Find




Users browsing this thread: 1 Guest(s)