what does -staticproplighting actually do?

I wish people would reveal their solutions to help others rather than edit their posts with crap like "ignore this, problem sovled".
 
Kester, unless you don't know the answer yourself, haven't you just done the same thing? (I don't know)
 
sorry, I didnt realise other people were interested, I'll make it a point in the future to explain my solution when I figure it out


what it seems to do is light the model with per-vertex lighting rather than per-model lighting


so basically if you have a lot of verts on a model and you have a shadow (say cast from a celiing beam in front of a light) the model will attempt to receive the shadow accurately rather than just sample one point and light the entire model according to that sample

kind of like a vertex lightmap if that makes sense
 
I just wanted to make sure I was understanding properly. Any info on how much more expensive this is?
 
I just wanted to make sure I was understanding properly. Any info on how much more expensive this is?

it should actually have 0% performance difference

this is because it's vertex lit

so when the model is rendered each vertex has to have a lighting value regardless of whether the model is lit per-vertex or per-model

so the only performance difference is that it should add about 5% to the VRAD compile time
 
Back
Top