Is there a way to ignore world lighting on say a certain entity? E.g. a big sealed off room prop still receives world light on the inside when it shouldn't.
You can actually force your own lighting on an object using some of the following:
render.PushFlashlightMode( true/false ); beforehand
render.SuppressEngineLighting
render.SetColorModulation
render.SetBlend
render.PopFlashlightMode( ); // when done
I tried that but it didn't seem to help. I'll try and explain a bit further. Depending what angle I'm looking at the model, world lighting is either there or not, it's very strange. Video below shows the behaviour.
[vid]https://dl.dropboxusercontent.com/u/49088180/Facepunch/lightingglitch.webm[/vid]
What I'm trying to achieve is consistent lighting.
edit: whoops sorry about giant vid, no way to thumb webm afaik though
Sorry, you need to Log In to post a reply to this thread.