Page 1 of 1

Model not receiving shadows

Posted: Sun Jan 06, 2013 10:25 pm
by xandaxs
hey guys!

I'm using this model on my map but it isn't receiving shadows, it's all lighted up.
_receiveshadows is by default set to 1, so it should be working. Anything I can do?

Re: Model not receiving shadows

Posted: Mon Jan 07, 2013 3:30 am
by Rayne
You're vertex lighting it, you don't need _receiveshadows key for it to receive them. Vertex lighting is buggy, i often have issues with vertex lit models being fully lit up, so add spawnflags keyword and value of 4, that will lightmap it. Since it mostly flat surfaces it will probably look good, to be on the safe side add _lightmapscale .250 or .125.
It's just one model so it wont affect performance at all.

Re: Model not receiving shadows

Posted: Mon Jan 07, 2013 6:57 am
by xandaxs
Thanks Rayne