Page 1 of 1

Weapon Shadowvolume?

Posted: Sun Nov 24, 2013 2:53 pm
by noMatt
Hey guys Ive modeled a quit detailed AK 47 with 2300 tris.
Now, I think everything would be just ok, but BF2 takes the normal mesh as shadow mesh which gives me Performance problems. Ive tryed to set up a shadowvolume but this was impossible too.
Now, is there a known way how to give a weapon a extra shadow?

Thanks in advance

Re: Weapon Shadowvolume?

Posted: Sun Nov 24, 2013 3:07 pm
by Maveritchell
Pretty sure that the game doesn't use the regular mesh as the SV unless you use the .option flag "-hiresshadow."

Re: Weapon Shadowvolume?

Posted: Sun Nov 24, 2013 4:05 pm
by noMatt
but in fact its doing (the shadowvolume is so undetailed but the shadow is really detaileld)

Re: Weapon Shadowvolume?

Posted: Sun Nov 24, 2013 7:12 pm
by Nedarb7
Are you sure you don't have a .option file for your weapon anywhere? If you do make sure to check it, even if your mesh has a shadow volume mesh it will still use the model's geometry if -hiresshadow exists. Also what did you name your shadow mesh?

Re: Weapon Shadowvolume?

Posted: Sun Nov 24, 2013 7:35 pm
by noMatt
sv_AK47 :) And i'll doble check that option thing