Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (dr_panther, TedMar, AndrewAMD), 986 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Shadow duplication glitch #270380
06/07/09 23:55
06/07/09 23:55
Joined: Dec 2008
Posts: 528
Wagga, Australia
the_mehmaster Offline OP
User
the_mehmaster  Offline OP
User

Joined: Dec 2008
Posts: 528
Wagga, Australia
Hey guys!
I have a problem with an rts game I'm developing. For some reason the shadow of my power station model is duplicating over the earth. If you don't understand just look at the picture:



Any suggestions?

p.s: if you want to know how i got the earth to glow in extra edition (no shaders) just ask.

Re: Shadow duplication glitch [Re: the_mehmaster] #270396
06/08/09 06:45
06/08/09 06:45

C
chris_oat
Unregistered
chris_oat
Unregistered
C



i guess the shadow like in ur picture is "normal" in 3DGS, bcs shadows will go thru walls and objects (entities).

Last edited by chris_oat; 06/08/09 06:56.
Re: Shadow duplication glitch [Re: ] #270409
06/08/09 07:44
06/08/09 07:44
Joined: Dec 2008
Posts: 528
Wagga, Australia
the_mehmaster Offline OP
User
the_mehmaster  Offline OP
User

Joined: Dec 2008
Posts: 528
Wagga, Australia
your right, but is there any way to hide it besides turning self shadows on?(looks really jagged)

Re: Shadow duplication glitch [Re: the_mehmaster] #270411
06/08/09 07:53
06/08/09 07:53
Joined: Apr 2009
Posts: 298
Southern Oceans
KiwiBoy Offline
Member
KiwiBoy  Offline
Member

Joined: Apr 2009
Posts: 298
Southern Oceans
Fake it with decal.


Use the 'manual' Luke, the manual is your friend. 'Self reminder' smile

My WebPage
Re: Shadow duplication glitch [Re: KiwiBoy] #270415
06/08/09 08:31
06/08/09 08:31

C
chris_oat
Unregistered
chris_oat
Unregistered
C



Originally Posted By: KiwiBoy
Fake it with decal.


yeah u could try that!
like this?!
Code:
 ENTITY* ent_carshadow = { type = "car_shadow.tga"; }

action race_car(){
  ...
  set(my,SHADOW);
  my.shadow = ent_carshadow; // car-shaped shadow sprite
  ...


Re: Shadow duplication glitch [Re: ] #270580
06/08/09 20:44
06/08/09 20:44
Joined: Dec 2008
Posts: 528
Wagga, Australia
the_mehmaster Offline OP
User
the_mehmaster  Offline OP
User

Joined: Dec 2008
Posts: 528
Wagga, Australia
That works, thanks!!


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