Wierd light penetration, how to fix it? - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: Wierd light penetration, how to fix it? (/thread-19119.html) |
Wierd light penetration, how to fix it? - clock123 - 11-06-2012 as you can see , the light penetrates through the table just like that, it doesn't look so good. I want the light to be realistic, and not going through the table just like that. i have the cast-shadows ticked on on the candle. tried doing somethings with point lights and spot lights. even tried some colors. how to disable the light penetrating the object and making it look more realistic? RE: Wierd light penetration, how to fix it? - johnbox - 11-07-2012 I'm not sure if my tablet's just buggy, but I don't see anything. Image doesn't load =/ But anyway, the light normally doesn't go through object, did you try another candle just to see if that works? RE: Wierd light penetration, how to fix it? - craven7 - 11-07-2012 Pointlights don't cast shadows, which means that it goes through all objects (like the table). However you can modify the candlemodel with the modeleditor and remove its lightsource. Then placing the non-light entity combined with a spotlight which casts shadows would show you the table's shadow. RE: Wierd light penetration, how to fix it? - Kman - 11-07-2012 For that candle, there's a no light version of the model, which essentially means it's the model without a pointlight attached to it. If you use that, you'll have to create the lighting by yourself, but you'll have full control of it (including making sure it doesn't go under the table). Though for other light models you'll have to be more crafty, as most of them don't have a no light version, and I can guarantee you going in and editing ever single one will not only be a major pain in the ass but it also won't do a whole lot to benefit your maps. RE: Wierd light penetration, how to fix it? - clock123 - 11-08-2012 Does non-light versions of most light-sources exist? RE: Wierd light penetration, how to fix it? - The chaser - 11-08-2012 (11-08-2012, 04:59 PM)clock123 Wrote: Does non-light versions of most light-sources exist?No, they don't. |