Product Chat / [SOLVED] light shines through closed doors hitting walls

Author
Message
willcrow
5
Years of Service
User Offline
Joined: 31st Mar 2019
Location:
Posted: 7th Apr 2019 15:42
how do you keep light from shinning though doors. its suppose to work like the walls right? this happens after lightmapping
AMD Ryzen 5 1600 Six-Core Processor, 3200 Mhz, 6 Core(s), 12 logical Processor(s), 16gb ram, NVIDIA Geforce GTX 1050, windows 10

The author of this post has marked a post as an answer.

Go to answer

Attachments

Login to view attachments
PM
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 7th Apr 2019 19:33
There is just not one of anything that is going to solve this as Lightmapping is a WIP still and will be long after June probably.

That being said, The only shadow you will get from dynamic objects is from the sunlight.

Static objects should render shadows as long as they have a minimal thickness when light mapped. And even then dynamic lights will bleed thru them. The sunlight and any other dynamic lights you are using.
Turn dynamic light ranges down to the area only that you need them. Turn static light ups about 3 time the range of the dynamic. I pair them with slightly different colors.

Also once you bake shadows with a door closed the shadow will not change when the door opens.

The are no real time shadows except for the sun light right now.

RIP
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

New:
Intel(R) Core(TM) i5-8400 CPU @ 2.81GHz, 12GB RAM, Nvidia gtx1050ti 4gb, Windows 10 Home 64bit, Screen resolution 1920 x 1080. System Passmark 3774




Wolf
Forum Support
16
Years of Service
User Offline
Joined: 8th Nov 2007
Location: Luxemburg
Posted: 7th Apr 2019 19:37 Edited at: 7th Apr 2019 23:36
Doors are dynamic and don't react to lightmapping. You will need to design your lighting in a way that this is not noticeable.
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 7th Apr 2019 22:35 Edited at: 7th Apr 2019 22:37
This post has been marked by the post author as the answer.
put a wall there, light map your level, delete the wall
or
make the door static, light map the level, make the door non-static

but as said above, the door will always cast (or not cast) a shadow once your level is light mapped
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11

Login to post a reply

Server time is: 2024-10-06 20:22:25
Your offset time is: 2024-10-06 20:22:25