Gamestudio Links
Zorro Links
Newest Posts
MMOexp ARC Raiders with a reliable weapon
by BennieDe. 05/14/26 02:18
Rsorder OSRS to a wider range of builds
by BennieDe. 05/14/26 02:17
Purchase A8 full licence version
by NeoDumont. 05/13/26 20:17
Black Book, 4th edition
by TipmyPip. 05/11/26 08:40
ZorroGPT
by TipmyPip. 05/09/26 11:58
No errors in the command line
by jcl. 05/08/26 10:59
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (BennieDe), 4,295 guests, and 19 spiders.
Key: Admin, Global Mod, Mod
Newest Members
BennieDe, curry, DeepxKalsi, Samed, ukgamer
19216 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
stencil blur does not work - SOLVED #480292
05/30/20 11:14
05/30/20 11:14
Joined: Mar 2018
Posts: 15
N
NicolaB Offline OP
Newbie
NicolaB  Offline OP
Newbie
N

Joined: Mar 2018
Posts: 15
Hello,
After adding stencil_blur(1); the shaodws disapear completely.

#include <mtlView.c>

in function main i added those lines:

shadow_stencil = 2;
stencil_blur(1); // blur the shadows using the built-in Poisson shader

and in the Players Action i set the shadow.

As soon as i delete stencil_blur(1W; i have the shadow back, but not blured as i would like to have.
Whats wrong?

Last edited by NicolaB; 05/30/20 12:14.
Re: stencil blur does not work [Re: NicolaB] #480294
05/30/20 12:13
05/30/20 12:13
Joined: Mar 2018
Posts: 15
N
NicolaB Offline OP
Newbie
NicolaB  Offline OP
Newbie
N

Joined: Mar 2018
Posts: 15
PROBLEM SOLVED i have to set everything in the right order:
….
video_switch(12,0,1);
d3d_autotransparency = 1;
camera.clip_near = 10; // 2 stop camera clipping to world at close range
doppler_factor = 2;
//NOW SHADOW VARS
shadow_stencil = 2;
shadow_lod = 1; // use the second LOD stage for stencil shadows
stencil_blur(1); // activate blurred shadows

level_load…..


Gamestudio download | 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