Gamestudio Links
Zorro Links
Newest Posts
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
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (dr_panther, 7th_zorro), 1,203 guests, and 2 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
Shadows on Terrain #183088
02/10/08 02:26
02/10/08 02:26
Joined: Jun 2003
Posts: 427
Prison
DarkWhoppy_ Offline OP
Senior Member
DarkWhoppy_  Offline OP
Senior Member

Joined: Jun 2003
Posts: 427
Prison
When creating a terrain, and placing it in the level as a model...

Is there a way to draw shadows of entities on it? Or does it have to be in the HMP format?


darkwhoppy@msn.no.spam.com (remove no.spam.) Website: WhoppyArts
Re: Shadows on Terrain [Re: DarkWhoppy_] #183089
02/10/08 12:44
02/10/08 12:44
Joined: Jul 2007
Posts: 163
c:\Germany\Bavaria.exe
G_Tos Offline
Member
G_Tos  Offline
Member

Joined: Jul 2007
Posts: 163
c:\Germany\Bavaria.exe
I don't know if this is a good idea, but you can trace the position of the terrainground under the entity and create a tga-shadow-sprite on this place...


Spiele zu spielen ist Übung, sie zu machen Kunst!(Zitat)

Re: Shadows on Terrain [Re: DarkWhoppy_] #183090
02/10/08 15:07
02/10/08 15:07
Joined: Mar 2005
Posts: 969
ch
Loopix Offline
User
Loopix  Offline
User

Joined: Mar 2005
Posts: 969
ch
If stencil shadows are enabled, shadows should also work on mdl entities...

Code:

shadow_stencil = on;



Re: Shadows on Terrain [Re: Loopix] #183091
02/10/08 15:23
02/10/08 15:23
Joined: Jun 2003
Posts: 427
Prison
DarkWhoppy_ Offline OP
Senior Member
DarkWhoppy_  Offline OP
Senior Member

Joined: Jun 2003
Posts: 427
Prison
It worked but Stencil Shadows are a bit ugly... From the models top-most point to the ground there seems to be some "shadow" attached.


darkwhoppy@msn.no.spam.com (remove no.spam.) Website: WhoppyArts
Re: Shadows on Terrain [Re: DarkWhoppy_] #183092
02/10/08 19:52
02/10/08 19:52
Joined: Mar 2003
Posts: 4,264
Wellington
Nems Offline

.
Nems  Offline

.

Joined: Mar 2003
Posts: 4,264
Wellington
Stencils need closed meshes to function without artifacts and they are a big drag on performance.

Re: Shadows on Terrain [Re: DarkWhoppy_] #183093
02/11/08 21:17
02/11/08 21:17
Joined: Aug 2002
Posts: 375
Germany
Salva Offline
Senior Member
Salva  Offline
Senior Member

Joined: Aug 2002
Posts: 375
Germany
Hi
Create a block the same size as the terrain and place it under the terrain
give it a standard texture, and naturally shaded mode, if the terrain is too big
put more blocks together, to me works perfect..


greet

salva


Moderated by  HeelX, rvL_eXile 

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