Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,633 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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,377
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,377
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 | 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