Please or Register to create posts and topics.

Problem with portal 2 lighting in hammer.

I am currently having trouble with lighting when using hammer. Please recommend me ways i can fix this problem.

Here is the problem: https://www.dropbox.com/s/cja1yyji6gvzwu7/2013-05-18_00002.jpg

I can't figure out why the light passes through the door...

Feeling AWESOME!!!!

Hmm i cant see a door on the Picture, but you can use (Block tool) The "Block light" texture, put it in the door and no light will go through.

EDIT: Or you maybe have turned "Disable Shadows" on?

i did put a block_light and parented it to the func_door_rotating and disable shadows is set to no. what is wrong???

Feeling AWESOME!!!!

No the "Block light" only blocks the light at the compiling, When you want to have dark when the door is closed, and lighted when the door is open, you can do 2 things:

- You give the light (who is lighting the floor) a Name and Turn it off, when the Door is closed and turn on when door is open.

- You use an env_projected_texture (but this is advanced)

oh ok so i give the env_projected_texture and light an output to turn off when i close the door like:
On Closed
(name of light/env_projected_texture)
Turn off

Feeling AWESOME!!!!

Also how can i keep the func_rotating_door from automatically closing by itself triggering the light to turn off while i'm in the room.

Feeling AWESOME!!!!
kai13XD wrote:
Also how can i keep the func_rotating_door from automatically closing by itself triggering the light to turn off while i'm in the room.

Set the time before closing to -1. I forget the exact property name, but it defaults to 4 if that helps you find it.

yeah thanks i found it

Feeling AWESOME!!!!