Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
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
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,486 guests, and 10 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 9 1 2 3 4 5 6 7 8 9
Re: Dynamic Realtime Shadows [Re: Cowabanga] #268327
05/28/09 17:08
05/28/09 17:08
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
The only codes I used:
Code:
level_load("test.wmb");
wait(3);
shadow_stencil = 2;

Code:
set(my, CAST); //dynamic light cast

Code:
set(my, SHADOW); //in model action



Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: Dynamic Realtime Shadows [Re: Espér] #268331
05/28/09 17:15
05/28/09 17:15
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...
Try:
Code:
shadow_stencil = 2;
level_load("test.wmb");
wait(3);


Re: Dynamic Realtime Shadows [Re: Cowabanga] #268344
05/28/09 18:35
05/28/09 18:35
Joined: Apr 2009
Posts: 298
Southern Oceans
KiwiBoy Offline
Member
KiwiBoy  Offline
Member

Joined: Apr 2009
Posts: 298
Southern Oceans
Try a new level without the shader and see if stencils show up, that might give you a comparative and from there you can determine what the cause may be for the current problems smile

Another factor to check out, is the model closed off? Important as a model with big holes will either display strange artifacts.


Last edited by KiwiBoy; 05/28/09 18:37.

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

My WebPage
Re: Dynamic Realtime Shadows [Re: KiwiBoy] #268361
05/28/09 20:29
05/28/09 20:29
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
all meshs are closed..
With shadow_stencil before level initial, no shadow is shown..
The stencil isn´t shown without the shader, too

Last edited by Espér; 06/02/09 20:14.

Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: Dynamic Realtime Shadows [Re: Espér] #269362
06/02/09 20:15
06/02/09 20:15
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
ok.. i made the sunlight off.. but still no shadow... *going crazy*


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: Dynamic Realtime Shadows [Re: Espér] #269502
06/03/09 11:26
06/03/09 11:26
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...
Maybe there's something in your code that disables the shadow??

Re: Dynamic Realtime Shadows [Re: Cowabanga] #269512
06/03/09 11:41
06/03/09 11:41
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 don't think so...
I only activate CAST in the light action, and shadows in the models action
No code wich disables the shadow functions..


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: Dynamic Realtime Shadows [Re: Espér] #269535
06/03/09 12:28
06/03/09 12:28
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
It may be a dumb, or already answered question but

Is there any shader on the floor? That may be a problem...


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Re: Dynamic Realtime Shadows [Re: EvilSOB] #269565
06/03/09 14:20
06/03/09 14:20
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 shaders on the floor or terrain

I tried it with a new script...
Just a ball with SHADOW flag, inside a cube, one dynamic light with CAST flag, and shadow stencil on 0,1 and 2
First gives no shadow (or it is to small to see)
The 1 & 2 are the blurred blob again...


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: Dynamic Realtime Shadows [Re: Espér] #269969
06/05/09 11:07
06/05/09 11:07
Joined: Jan 2005
Posts: 605
Deutschland, NRW
G
garv3 Offline
User
garv3  Offline
User
G

Joined: Jan 2005
Posts: 605
Deutschland, NRW
Maybe you are using a graphics card that does not support stencil grin
But to be serious, the error must be in your code or your hardware(settings).
Maybe you set up some strange behaviour in your grahpics card's control panel!?


GameStudio Version: A7 Pro v7.86
Page 3 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