Gamestudio Links
Zorro Links
Newest Posts
zorro 64bit command line support
by jcl. 04/20/24 08:52
StartWeek not working as it should
by jcl. 04/20/24 08:38
Data from CSV not parsed correctly
by jcl. 04/20/24 08:32
Zorro FIX plugin - Experimental
by jcl. 04/20/24 08:30
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (7th_zorro, Aku_Aku, henrybane, flink, 1 invisible), 712 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
mirror view problem with pssm and terrain multitexturing shader #427927
08/15/13 14:06
08/15/13 14:06
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline OP
Expert
sivan  Offline OP
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
hi

I got something strange when applied my new terrain multitexturing shader together with pssm shadows and a water mirror. the same happens with other mirror water shaders, but eliminated if stecil blur (effect_load(mat_shadow,"st_stencilBlur.fx");) applied. with other shadowmapping shader not using stencilmap, everything works fine. the terrain shader has a 24b base texture on ent skin1 followed by 7 tiling texture having blending value on alpha similarly to terraintex.fx. the last 4 textures are put to material skins to be readable by the shader.
in case of another terrain multitex shader, a bit different screen artifacts can be seen due to similar rules, while the terraintex.fx ffe works fine.

I know there were mirror view related problems with decal and stencil shadows, will their fix solve this problem too? I can send you a link with a small sample project if needed.

at this camera position okay:


in the following the base texture appears in the place of terrain:


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: mirror view problem with pssm and terrain multitexturing shader [Re: sivan] #427989
08/16/13 10:10
08/16/13 10:10
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
There have been some similar issues that were fixed in the last beta version - maybe this is related. Do you want to test it with the beta? I can then open the beta forum for you.

Re: mirror view problem with pssm and terrain multitexturing shader [Re: jcl] #428026
08/16/13 20:31
08/16/13 20:31
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline OP
Expert
sivan  Offline OP
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
thanks, yes, it would be great to try out fixes that helps my work, and to test new features as early as possible.
I go to holiday on this Sunday for one and a half week, but hopefully I'll have a little time for 3dgs too.


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: mirror view problem with pssm and terrain multitexturing shader [Re: sivan] #464264
01/31/17 23:39
01/31/17 23:39
Joined: Feb 2011
Posts: 124
Germany Nrw Herford
HenWoll Offline
Member
HenWoll  Offline
Member

Joined: Feb 2011
Posts: 124
Germany Nrw Herford
I have a similar problem here,
I have the pssm shader with some block objects by flag1deactivated,Because of a Gpu overdrive
Code:
viewShadow->flags |= SHOW|UNTOUCHABLE|NOSHADOW|NOPARTICLE|NOLOD|NOSKY| NOFLAG1;


in the Shadow.c , it works,

However, the blocks are no longer reflected in the water,Only with active (PSSM) shadow.

Does anyone have a solution?
im use 3Runs watershader

http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=463961




Last edited by BlackJack; 01/31/17 23:48.
Re: mirror view problem with pssm and terrain multitexturing shader [Re: HenWoll] #464277
02/01/17 17:26
02/01/17 17:26
Joined: Feb 2011
Posts: 124
Germany Nrw Herford
HenWoll Offline
Member
HenWoll  Offline
Member

Joined: Feb 2011
Posts: 124
Germany Nrw Herford
Solved, 3Run has in his water shader a Flag1 ignore includet,

Code:
// suppress all entities with flag1 set:
//	set(viewMirror, NOFLAG1);



Moderated by  old_bill, Tobias 

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