Jump to content
Sign in to follow this  
[aps]gnat

Own shadow on body

Recommended Posts

This old chestnut, still kicking my butt

http://forums.bistudio.com/showthread.php?66796-Self-Shadow-cutting-in-out

Have a vehicle model that I just can't get the Shadow LOD(s) to cast a shadow on itself / on its own skin.

properties lodnoshadow = 1 & class = vehicle in all LODs

Super shaders in place

Shadow lod casts perfect shadow on the ground

Sharp edges and Triangulated

Shadow lod I've simplified just to see it happen, but it wont.

Seems to be the same as other vehicles that have no issues.

Thoughts on why its resisting?

---------- Post added at 22:35 ---------- Previous post was at 22:18 ----------

*sigh* its always the last thing you try after spend hours and hours trying to fix, and you make a post .....

Seems fixed just by making sure I have a _CO file extension to the PAA !

Share this post


Link to post
Share on other sites

Nope !

Wasn't that simple :(

Added a few more bits, now I've lost the self shadow .........

Any ideas?

Share this post


Link to post
Share on other sites
Gnat;2243538']properties lodnoshadow = 1 & class = vehicle in all LODs

It would probably be best not to have lodnoshadow = 1 in the shadow LODs. I'm not saying you do, but it reads like you may.

Also, I'm not sure exactly what class = vehicle does. If you don't either, I would remove it and see if something changes.

I'm not sure if this is related, but I think a good avenue of investigation might be seeing what sections you've declared in your model.cfg.

Share this post


Link to post
Share on other sites

ARG! Found the problem ...... I was sort of close with the first answer.

Turns out the PAA file format is the problem (not my model or converted textures) !!

Took the PAA, saved as TGA, then converted back to a PAA with the default TexView2 settings ....... now I get shadow on itself.

Thanks for the suggestions Max

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×