Gamestudio Links
Zorro Links
Newest Posts
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
4 registered members (degenerate_762, AbrahamR, AndrewAMD, ozgur), 667 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
FFP Multitexturering vs. Stencil Shadows #58880
11/12/05 23:24
11/12/05 23:24
Joined: May 2005
Posts: 50
D
dead_poet Offline OP
Junior Member
dead_poet  Offline OP
Junior Member
D

Joined: May 2005
Posts: 50
Well, I'm using a 4 pass multitexturing shader on my terrain. The shader is pretty much the same as the one in the wiki.
I now have to realize that stencil shadows are not rendered on the terrain surface any more...

any idea for a work around for this problem?

thanks

Re: FFP Multitexturering vs. Stencil Shadows [Re: dead_poet] #58881
11/13/05 06:01
11/13/05 06:01
Joined: Aug 2005
Posts: 1,185
Ukraine
Lion_Ts Offline
Serious User
Lion_Ts  Offline
Serious User

Joined: Aug 2005
Posts: 1,185
Ukraine
look at aum's (51) code for nice technique (model+shader) to emulate shadow.

Re: FFP Multitexturering vs. Stencil Shadows [Re: Lion_Ts] #58882
11/13/05 11:39
11/13/05 11:39
Joined: May 2005
Posts: 50
D
dead_poet Offline OP
Junior Member
dead_poet  Offline OP
Junior Member
D

Joined: May 2005
Posts: 50
hm, thank you, but i not really want to use another fake-technique...

maybe some shader-freak knows how to change the render states of the multitexturing shader to make it work?

Re: FFP Multitexturering vs. Stencil Shadows [Re: dead_poet] #58883
11/13/05 14:08
11/13/05 14:08
Joined: Oct 2003
Posts: 4,131
M
Matt_Aufderheide Offline
Expert
Matt_Aufderheide  Offline
Expert
M

Joined: Oct 2003
Posts: 4,131
lol.. shader-freak

Do the shadows just not appear, or what? What kind of camera do yo have, you cant really use first person camreas with stencil shadows in A6 because the shadows will blnk on and off if the camera enters the shadow volume... do the shadows appear if you turn off the material?


Sphere Engine--the premier A6 graphics plugin.
Re: FFP Multitexturering vs. Stencil Shadows [Re: Matt_Aufderheide] #58884
11/13/05 14:35
11/13/05 14:35
Joined: May 2005
Posts: 50
D
dead_poet Offline OP
Junior Member
dead_poet  Offline OP
Junior Member
D

Joined: May 2005
Posts: 50
hey, just the right person!

i'm aware of the camera-problem, i'm using a third person camera.
the shadows are rendered on the casting models and are cast to other models, but dont appear on the terrain surface. if i turn of the material they appear on the terrain.

Re: FFP Multitexturering vs. Stencil Shadows [Re: dead_poet] #58885
11/13/05 14:52
11/13/05 14:52
Joined: Oct 2003
Posts: 4,131
M
Matt_Aufderheide Offline
Expert
Matt_Aufderheide  Offline
Expert
M

Joined: Oct 2003
Posts: 4,131
Make sure the terrain is has my.transparent=off and my.flare=off


Sphere Engine--the premier A6 graphics plugin.
Re: FFP Multitexturering vs. Stencil Shadows [Re: Matt_Aufderheide] #58886
11/13/05 15:05
11/13/05 15:05
Joined: May 2005
Posts: 50
D
dead_poet Offline OP
Junior Member
dead_poet  Offline OP
Junior Member
D

Joined: May 2005
Posts: 50
yeah, works! thank you, dude!


Moderated by  Blink, Hummel, Superku 

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