decal shadows on separate models

Posted By: Iglarion

decal shadows on separate models - 12/19/13 07:49

I use ent_decals to make player shadow. The problem occurs when i connect two separate models of floor in wed, and when a player stepped to the edge shadow is visible in only one model. I put both models in group and i set single mesh flag, compile in mesh mode, but still not work. Models have set flag2 and polygon flag. The same problems with light also.
Here is a picture:


Posted By: Superku

Re: decal shadows on separate models - 12/19/13 07:55

The flag "Single Mesh" sadly only works for blocks. Nice snow scene btw.
Posted By: sivan

Re: decal shadows on separate models - 12/19/13 08:03

if you want to stay with ent_decal for character shadows, you could use more smaller ones of them to imitate something like shadowmapping, just in the game Rudi made by Heelx. this could decrease these artifacts too.
Posted By: Superku

Re: decal shadows on separate models - 12/19/13 08:05

Or place two decals manually, one on each mesh.
Posted By: Iglarion

Re: decal shadows on separate models - 12/19/13 08:08

Thanks, this is our new snow level smile
Ohh damn, i was sure that i read somewhere that it works on terrains and models, but it seems that i was wrong frown

Hmm it looks like there's not a some other solution for this (excluding merage in MED)?

EDIT:
Ohh you guys are fast laugh
Quote:
Or place two decals manually, one on each mesh.

How do this? Just make two c_scan points one forward and one backward?
Posted By: Superku

Re: decal shadows on separate models - 12/19/13 08:18

I'm not too experienced with decals, sorry, but you don't have to use c_trace. You can set up the hit struct manually, see the manual. I guess this might take some time, though.
Posted By: Iglarion

Re: decal shadows on separate models - 12/19/13 08:24

Thanks for advices, now i know what i must make, i think this will works good wink
© 2024 lite-C Forums