Hello Facepunch,
I recently decided to start making maps for Synergy.
I now somewhat know my way around Hammer, although lighting is giving me trouble.
[t]http://i.imgur.com/b3zfjnM.jpg[/t]
I have no idea why the sun is shining through the door, I don't have any sort of gap.
More photos are here. [url]https://imgur.com/a/C9tHA[/url]
Things that should be shaded are not shaded, like playermodels and weapons.
Please help!
Thanks.
Map Link: [url]https://drive.google.com/file/d/0B9kJYEJTyvoiSWpaUGRnQXBpUlk/view?usp=sharing[/url]
And on a side note, I originally had the player spawns on the ground, but it seemed to make the camera of the player jitter a little. There is enough space for them, so I don't know why.
For the time being I moved them slightly off the ground, but I would like to know of a fix for this.
The door doesn't really count for blocking light, so when the compiler does the lighting it acts as if there's a door spaced hole. If you dont want light shining through, then use a brush with a blocklight texture in the space.
To add onto Paul's comment, be sure to make the blocklight width 1 unit, and then use the movement tool to shift it back 0.5 units, that would put the blocklight texture inside of the door (since the door is 2 units). This avoids one side of the door being pitch black, which happens to me and my friend quite often. Same thing with areaportals.
Yeah hammer you really can't think of as real life. In real life a door would block light but to the computer its like a big hole in your level. Like paul said block light texture will do that trick.
[QUOTE=lyosea;50474752]Yeah hammer you really can't think of as real life. In real life a door would block light but to the computer its like a big hole in your level. Like paul said block light texture will do that trick.[/QUOTE]
It's any entity. Entities are invisible to the compiler. func_detail, func_breakable, prop_door_rotating, light will pass through all of them. The only exceptions are static props and things that cast shadows, which have their own shadow options.
func_details? Light passes through func_details?
I'm not so sure about that.
[QUOTE=RonanZer0;50475254]func_details? Light passes through func_details?
I'm not so sure about that.[/QUOTE]
They pass through mine. Try it out, maybe it's just me but whenever I tie something to func_detail, the light comes through. If it's just me, let me know, because then I have to find a way to fix it.
Thanks everyone for the replies. I will apply them. Thread solved.
Sorry, you need to Log In to post a reply to this thread.