Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, 7th_zorro), 923 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Can the invisible mesh cast static shadow? #412290
11/24/12 22:50
11/24/12 22:50
Joined: Jan 2009
Posts: 78
always overseas
S
SeaCancer Offline OP
Junior Member
SeaCancer  Offline OP
Junior Member
S

Joined: Jan 2009
Posts: 78
always overseas
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

Last edited by SeaCancer; 11/26/12 16:12.
Re: Can the invisible mesh cast static shadow? [Re: SeaCancer] #412424
11/27/12 10:01
11/27/12 10:01
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
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.

Re: Can the invisible mesh cast static shadow? [Re: jcl] #412447
11/27/12 15:00
11/27/12 15:00
Joined: Jan 2009
Posts: 78
always overseas
S
SeaCancer Offline OP
Junior Member
SeaCancer  Offline OP
Junior Member
S

Joined: Jan 2009
Posts: 78
always overseas

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


Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1