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
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 1,103 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 3 1 2 3
Re: stencil shadow - is it really possible? [Re: JibbSmart] #349467
12/07/10 21:44
12/07/10 21:44
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline
Expert
Slin  Offline
Expert

Joined: May 2005
Posts: 2,713
Lübeck
IS your shadow casting model visible? As otherwize the shadows are probably clipped away together with it.
Other than that it basicly just works. At least for me...

Re: stencil shadow - is it really possible? [Re: Slin] #349478
12/07/10 23:06
12/07/10 23:06
Joined: Apr 2006
Posts: 624
DEEP 13
badapple Offline
User
badapple  Offline
User

Joined: Apr 2006
Posts: 624
DEEP 13
lowering your alpha on the shadow should improve frame rate also

Re: stencil shadow - is it really possible? [Re: badapple] #349482
12/08/10 00:17
12/08/10 00:17
Joined: Oct 2010
Posts: 73
0110111
C
CodeMaster Offline OP
Junior Member
CodeMaster  Offline OP
Junior Member
C

Joined: Oct 2010
Posts: 73
0110111
@Slin
yes all my models is visible and passable. Shadow is well seen on all models, but also shadow passing through my models - i do not know if this is normal and how stop this? For collision i use wed blocks under models with none flag. Perhaps the problem is that?

@Badapple
how to do it?

Re: stencil shadow - is it really possible? [Re: CodeMaster] #349483
12/08/10 00:41
12/08/10 00:41
Joined: Apr 2006
Posts: 624
DEEP 13
badapple Offline
User
badapple  Offline
User

Joined: Apr 2006
Posts: 624
DEEP 13
i know with lite c its like this , but im not up to date with a8

mat_shadow.alpha =40;//place this line at the begining of function main

replace 40 with any value 0 - 100

Re: stencil shadow - is it really possible? [Re: badapple] #349487
12/08/10 03:20
12/08/10 03:20
Joined: Jul 2005
Posts: 1,002
Trier, Deutschland
Nowherebrain Offline
Serious User
Nowherebrain  Offline
Serious User

Joined: Jul 2005
Posts: 1,002
Trier, Deutschland
let me understand, all your models are casting shadows?, if so....that would lower your frame rate, or you are not using stencil shadows at all, but a shadow mapping post proccessing shader....again is slower than just your player having it's shadow on.


Everybody Poops.
here are some tutorials I made.
http://www.acknexturk.com/blender/
Re: stencil shadow - is it really possible? [Re: Nowherebrain] #349493
12/08/10 09:57
12/08/10 09:57
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline
Expert
Slin  Offline
Expert

Joined: May 2005
Posts: 2,713
Lübeck
Badapple, that shouldn't have any effect on the speed.

CodeMaster, that is a general problem with the way stencil shadows work and nothing specifically related to gamestudio. The only solution is to have all objects casting shadows, as that will of course hide the "wrong" shadow in the shadow.

Re: stencil shadow - is it really possible? [Re: Slin] #349563
12/08/10 23:28
12/08/10 23:28
Joined: Apr 2006
Posts: 624
DEEP 13
badapple Offline
User
badapple  Offline
User

Joined: Apr 2006
Posts: 624
DEEP 13
@slin it most certainly does affect your fps , the lower the value the better the boost.

Re: stencil shadow - is it really possible? [Re: badapple] #349571
12/09/10 03:33
12/09/10 03:33
Joined: May 2009
Posts: 1,816
at my pc (duh)
darkinferno Offline
Serious User
darkinferno  Offline
Serious User

Joined: May 2009
Posts: 1,816
at my pc (duh)
really doubt that laugh

Re: stencil shadow - is it really possible? [Re: darkinferno] #349581
12/09/10 11:04
12/09/10 11:04
Joined: Mar 2006
Posts: 2,252
Hummel Offline
Expert
Hummel  Offline
Expert

Joined: Mar 2006
Posts: 2,252
me too -.- see no technical reason why it should...

Re: stencil shadow - is it really possible? [Re: Hummel] #349582
12/09/10 11:24
12/09/10 11:24
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline
Expert
Slin  Offline
Expert

Joined: May 2005
Posts: 2,713
Lübeck
It is nothing but the alpha value of a black fullscreen quad...

Page 2 of 3 1 2 3

Moderated by  HeelX, Spirit 

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