Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
0 registered members (), 16,232 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Fighting with flickering shadows #421121
04/11/13 00:14
04/11/13 00:14
Joined: Apr 2006
Posts: 159
Latvija
Arrovs Offline OP
Member
Arrovs  Offline OP
Member

Joined: Apr 2006
Posts: 159
Latvija
What is best way to fight with flickering shadows?
Stencil shadows is by default bad.
PSSM really likes to flicked and to displace - atleast for me.
Im seen videos where peoples show really(or normal) good quality shadows in this engine.
I really hope here is some experienced persons who know best ways or shadow shaders to use.


Arrovs once will publish game
Re: Fighting with flickering shadows [Re: Arrovs] #421124
04/11/13 07:42
04/11/13 07:42
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
stencil shadows are not bad, but have limitations, and sometimes slow. for free/extra users it is the only relatively nice solution, beside decal shadows and static lightmaps.

pssm shadows is not compatible at the moment with self shadows on entitites having alpha skin. but it is on the roadmap to be solved, hopefully soon. this cause currently flickering.

another bug said to be fixed in current beta, is when you use pssm self shadows on entities having normal maps. currently it results in black shadows or engine crash depending on the actual shader. (I reported it)

so if something does not work report it on bugs sectiona, and will be fixed. I do it and works. but sometimes I'm wrong and do something wrong, and not a bug... laugh

if you cannot set PSSM shadows alone fine, try my editor, there are real time adjustment possibilities, to set bias and other parameters well (there is also a minor bug that disturbes bias settings, but I reported it, and fixed in next update). you can load yuur wmb level, but a terrain must be contained.


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: Fighting with flickering shadows [Re: sivan] #421140
04/11/13 18:00
04/11/13 18:00
Joined: Apr 2006
Posts: 159
Latvija
Arrovs Offline OP
Member
Arrovs  Offline OP
Member

Joined: Apr 2006
Posts: 159
Latvija
Thanks for answer. Seems all of your said helps to make my problems. And extra annoying flickering comes from parallel planes to sun.

I wish there could be more light source shadows which works really nice.


Arrovs once will publish game
Re: Fighting with flickering shadows [Re: Arrovs] #421141
04/11/13 18:08
04/11/13 18:08
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
yes, flat planes are a problem. try stencil_blur(1.2); that blurs pssm shadows too, usually looks fine. and you can increase the smoothing factors in the vp_pssm.fx. I use currently 7 for the near value instead of 5 for the 1st split, I left the far value 3 for the last 2 splits, and introduced a mid value 5 for the 2nd split.


Free world editor for 3D Gamestudio: MapBuilder Editor

Moderated by  Blink, Hummel, Superku 

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