Frictional Games Forum (read-only)

Full Version: Wierd light penetration, how to fix it?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
[Image: gonjzw1zq4je.png]

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?
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?
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.
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.
Does non-light versions of most light-sources exist?
(11-08-2012, 04:59 PM)clock123 Wrote: [ -> ]Does non-light versions of most light-sources exist?
No, they don't.