Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (TedMar, AndrewAMD), 1,344 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19053 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
shadow for invisible obj #399949
04/24/12 05:50
04/24/12 05:50
Joined: Jan 2010
Posts: 150
iran - tehran
F
flatron Offline OP
Member
flatron  Offline OP
Member
F

Joined: Jan 2010
Posts: 150
iran - tehran
hi
i made a car that has 21 pieces and an invisible model for body.
that model is the real physic car and other 21 pieces are just renderd for visual .
i need to have shadow from that invisible model.
is there any solution?

Re: shadow for invisible obj [Re: flatron] #399952
04/24/12 07:09
04/24/12 07:09
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
I don't know if this will help, but try to make object TRANSLUCENT instead of INVISIBLE and lower it's alpha till 0.001 (try 0 as well). I'm not sure if this will help, just an idea.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: shadow for invisible obj [Re: 3run] #399956
04/24/12 09:29
04/24/12 09:29
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
it can be done simply by

my.shadow = you;

where my is the drawn car, you is any (invisible) shadow casting entity (sprite for decal shadow, model for stencil shadow)


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: shadow for invisible obj [Re: sivan] #400075
04/25/12 13:16
04/25/12 13:16
Joined: Jan 2010
Posts: 150
iran - tehran
F
flatron Offline OP
Member
flatron  Offline OP
Member
F

Joined: Jan 2010
Posts: 150
iran - tehran
it works.
thank you very much.
camera_ambient.red and green and blue also is affected on shadow.
if all is 0,shadow will disappear.


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