Can the invisible mesh cast static shadow?

Posted By: SeaCancer

Can the invisible mesh cast static shadow? - 11/24/12 22:50

Can the invisible mesh cast static shadow?
The same shadow as if it is visible?

The compiler said:
use: Invisible == None

But this is working with blocks not meshes

Any help or trick to do that?!

If not, I can make the mesh visible and it will cast static shadow, but then can I use the lightmap produced by the engine?

I hope I made my problem clear

Version: A8
meshes imported via FBX from Maya
Posted By: jcl

Re: Can the invisible mesh cast static shadow? - 11/27/12 10:01

An invisible mesh can not cast a shadow, but a totally transparent mesh can. Either use a texture with an alpha channel that's 0 everywhere, or set the TRANSLUCENT flag and set the alpha parameter to zero.

If it's a static shadow, you also can just remove the model after starting the level - that would be the simplest solution.
Posted By: SeaCancer

Re: Can the invisible mesh cast static shadow? - 11/27/12 15:00


Thanks for mentioning that laugh
I will try this alpha solution

Hmmmm,
I didn't understand the second solution
Do you mean to set the STATIC flag for the model, because models don't cast static shadows, please jcl can you describe that in more detail

Assume I want a static shadow on the ground from a tree mesh (model)
I need this because I will make the ground map entity later
© 2024 lite-C Forums