Interiors not blocking sun?
by Jason Gossiaux · in Torque Game Engine · 11/27/2007 (1:54 am) · 4 replies
I noticed that when a player enters a DIF interior with portals, they don't stop getting lit from the sun. This can result in them walking into a pitch black room and being fully visible. I understand how the interior shadows are generated in the form of lightmaps. So maybe the interiors are not capable of actually blocking sunlight?
I've searched around but haven't been able to find much about this. I just thought that having a DIF block the sun directional light from hitting DTS and player objects would be possible. Thank you for any light you can shed on this problem I'm having :P
I've searched around but haven't been able to find much about this. I just thought that having a DIF block the sun directional light from hitting DTS and player objects would be possible. Thank you for any light you can shed on this problem I'm having :P
About the author
#2
If you are using portals and having this issue, they may still leak. The most success I've had with consistency is to CSG subtract all windows and doors and use the actual brush that you subtracted with as the portal so that there's no mistakes with sizing (very handy when you aren't using snap-to-grid).
11/27/2007 (4:46 am)
In case you don't know, your .difs should be completely enclosed with absolutely no leaks, and any openings should be closed with portal brushes.If you are using portals and having this issue, they may still leak. The most success I've had with consistency is to CSG subtract all windows and doors and use the actual brush that you subtracted with as the portal so that there's no mistakes with sizing (very handy when you aren't using snap-to-grid).
#3
11/27/2007 (8:10 am)
Well I believe the portals are working because the player-shadows vanish when I go inside. But their body textures still remain lit as if by the sun... Maybe it has something to do with the player model I am using. I have only tried a simply textured michelin-tire man like model, and the demo blue-blockman model.
#4
11/27/2007 (8:59 am)
The demo models should light properly, you might loading in Kork to double-check. Otherwise, perhaps someone who's familiar with these symptoms can chime...
Torque Owner Stephan - viKKing - Bondier