Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 20:05
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
2 registered members (AndrewAMD, 7th_zorro), 1,285 guests, and 4 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
Page 2 of 9 1 2 3 4 5 6 7 8 9
Re: Dynamic Realtime Shadows [Re: Espér] #267903
05/26/09 18:48
05/26/09 18:48
Joined: Apr 2009
Posts: 298
Southern Oceans
KiwiBoy Offline
Member
KiwiBoy  Offline
Member

Joined: Apr 2009
Posts: 298
Southern Oceans
Have you switched 'sunlight' off? Normally, the thresh hold is set to the default 'sun' and if it is off or its threah hold has been changed shadows wont appear.

Or if you use shaders that turn it off.


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

My WebPage
Re: Dynamic Realtime Shadows [Re: KiwiBoy] #267933
05/26/09 22:07
05/26/09 22:07
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline OP
Expert
Espér  Offline OP
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
i use a cartoon shader ( just outlines.. )..
Any chance to use a shadow like in the picture, together with a cartoon shader?


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: Dynamic Realtime Shadows [Re: Espér] #268060
05/27/09 11:23
05/27/09 11:23
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Well, it was a stencil shadow in the image. And can work fine with Toon shader.

Re: Dynamic Realtime Shadows [Re: Cowabanga] #268168
05/27/09 19:21
05/27/09 19:21
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline OP
Expert
Espér  Offline OP
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
yes.. but what i get.. is not like in the picture.

See here:



That´s what i get with "shadow_stencil = 2;" + Dynamic light with CAST ( and SHADOW on models )
ugly.. And rotating with the player...


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: Dynamic Realtime Shadows [Re: Espér] #268170
05/27/09 19:29
05/27/09 19:29
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
That's a decal shadow, it's supposed to generate a stencil shadow. Maybe you've defined my.shadow ...?

Re: Dynamic Realtime Shadows [Re: Cowabanga] #268176
05/27/09 20:03
05/27/09 20:03
Joined: Apr 2009
Posts: 298
Southern Oceans
KiwiBoy Offline
Member
KiwiBoy  Offline
Member

Joined: Apr 2009
Posts: 298
Southern Oceans
In Main;

Stencil_shadow = 2;

In action
set(my, SHADOW);


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

My WebPage
Re: Dynamic Realtime Shadows [Re: KiwiBoy] #268201
05/28/09 05:01
05/28/09 05:01
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
@KiwiBoy:
He said he putted stencil_shadow = 2.
And how does the engine put a shadow without set(my,SHADOW)? So of course he putted that also. And actually he said that he putted SHADOW flag at all models in his last post. Think about it, not to increase your posts wink. However, that's an advice.

@Espér:
Did you defined my.shadow ...? confused

Re: Dynamic Realtime Shadows [Re: Cowabanga] #268265
05/28/09 11:51
05/28/09 11:51
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline OP
Expert
Espér  Offline OP
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
no.. how to?


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: Dynamic Realtime Shadows [Re: Espér] #268279
05/28/09 12:20
05/28/09 12:20
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline
Serious User
pegamode  Offline
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
Where exactly in main.c have you put "shadow_stencil"?

Have you searched all your code (inclusive all includes you use) for another shadow_stencil command that overrides yours?

GS generates a decal shadow instead of a stencil shadow so there's something wrong somewhere in your code.

Maybe you should break down your code to just have a main.c that loads the level.

Regards,
Pegamode.

Re: Dynamic Realtime Shadows [Re: Espér] #268312
05/28/09 15:55
05/28/09 15:55
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Originally Posted By: Espér
no.. how to?

No! no need for that, because if you defined it, you'll see those "ugly" shadows wink.

Page 2 of 9 1 2 3 4 5 6 7 8 9

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