Cardia on 26/7/2017 at 17:08
This is weird, i have this streetlamp in this place and despite being completely under sunlight it appears dark as if it was under shadow, but if i move slightly back it becomes illuminated :
Inline Image:
https://i.imgur.com/pjCWpRE.jpgalso if i change the model dimensions it can affect whether its illuminated or not.
How can i fix this? i tried extra light, but its not the same because the objects gets illuminated in all surfaces.
R Soul on 26/7/2017 at 17:39
I'm not certain, but if you modified one of the default lamp post objects, it may be inheriting some properties that don't work properly with such bright sunlight. Try assigning that model name to a different type of object and see if it behaves differently.
Cardia on 26/7/2017 at 17:58
Quote Posted by R Soul
I'm not certain, but if you modified one of the default lamp post objects, it may be inheriting some properties that don't work properly with such bright sunlight. Try assigning that model name to a different type of object and see if it behaves differently.
this is a model i got from a 3d site, its actually a wooden spoon that i changed to this object.
LarryG on 26/7/2017 at 21:11
Did you change the dimensions of the spoon to match the lamp post? Also object illumination has to do with the light hitting the center of a face. Very flat surfaces should be forced to have multiple facets in in order to get them reasonably illuminated. And yes, changing an object's size will affect whether the engine thinks it should be illuminated.
Cardia on 26/7/2017 at 21:24
Quote Posted by LarryG
Did you change the dimensions of the spoon to match the lamp post? Also object illumination has to do with the light hitting the center of a face. Very flat surfaces should be forced to have multiple facets in in order to get them reasonably illuminated. And yes, changing an object's size will affect whether the engine thinks it should be illuminated.
Thanks LarryG, but if you mean adjusting the object physic dimensions is pointless in this case, i´m not sure about the multiple faces, i just moving the lamp post a bit backwards and it gets illuminated, doesn't make any sens, because there's much space in front of the lamp that is under the light sun :
Inline Image:
https://i.imgur.com/uejfSl4.pngi move the tree backwards and it gets illuminated. if i load early saves from this project that problem doesn't happen. so i have no idea what's going on here.
Cardia on 26/7/2017 at 21:39
so i decided to test also other models from thief 2 and it happens the same thing, its weird... so it has nothing to do with the lamp street i was testing.
gamophyte on 31/7/2017 at 16:02
Quote Posted by Cardia
so i decided to test also other models from thief 2 and it happens the same thing, its weird... so it has nothing to do with the lamp street i was testing.
Are these objects buried in the ground a little? I had issues with this and had to have them slightly above the ground, as that end what solely responsible to receive light information.
Cardia on 31/7/2017 at 21:51
Quote Posted by gamophyte
Are these objects buried in the ground a little? I had issues with this and had to have them slightly above the ground, as that end what solely responsible to receive light information.
i use "floor me" , i lifted up a bit off the ground, still doesn't work, i have no idea what's causing this problem, i did full mission process, build_dlg, quick optimize, optimize and yet the bug persists , if i resize it for a small size it gets illuminated by the sun, but only in a very small size. I´m open to more suggestions
LarryG on 31/7/2017 at 22:21
Quote Posted by LarryG
Did you change the dimensions of the spoon to match the lamp post? Also object illumination has to do with the light hitting the center of a face. Very flat surfaces should be forced to have multiple facets in in order to get them reasonably illuminated. And yes, changing an object's size will affect whether the engine thinks it should be illuminated.
Check the dimensions of the lamppost.
Yandros on 1/8/2017 at 01:28
The reason Larry keeps mentioning that (presumably) is because objects are lit when their centers are lit. If the lamppost's phys model is the size of a spoon, maybe it isn't getting lit due to the small size. Plus, you of course want the player to collide with it properly as well anyway.