Welcome to CMM

We've created a Custom Map Makers Discord channel, if you'd like to join us on the CMM Discord Channel, click here

Model not receiving shadows

Questions about models, making models and problems with models
User avatar
xandaxs
Posts: 959
Joined: Wed Aug 17, 2011 5:22 pm
Location: Oeiras, Portugal
Contact:

Model not receiving shadows

Postby xandaxs » Sun Jan 06, 2013 10:25 pm

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?
[12:25] <JohnnyEnglish> morning Nounou
[12:25] <JohnnyEnglish> wotcha doing?
[12:25] <Nounou> hello
[12:26] <Nounou> nothing much, i've nothing to do at work so
[12:26] <Nounou> modeling woman
[12:26] <JohnnyEnglish> woo
[12:26] <JohnnyEnglish> real women?
[12:26] <Nounou> realistic yes, on maya

Image

User avatar
Rayne
Site Admin
Posts: 624
Joined: Wed Aug 17, 2011 5:22 pm

Re: Model not receiving shadows

Postby Rayne » Mon Jan 07, 2013 3:30 am

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.

User avatar
xandaxs
Posts: 959
Joined: Wed Aug 17, 2011 5:22 pm
Location: Oeiras, Portugal
Contact:

Re: Model not receiving shadows

Postby xandaxs » Mon Jan 07, 2013 6:57 am

Thanks Rayne
[12:25] <JohnnyEnglish> morning Nounou
[12:25] <JohnnyEnglish> wotcha doing?
[12:25] <Nounou> hello
[12:26] <Nounou> nothing much, i've nothing to do at work so
[12:26] <Nounou> modeling woman
[12:26] <JohnnyEnglish> woo
[12:26] <JohnnyEnglish> real women?
[12:26] <Nounou> realistic yes, on maya

Image


Return to “Models / modelling tools”

Who is online

Users browsing this forum: No registered users and 2 guests

cron