Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
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
1 registered members (AndrewAMD), 559 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
PSSM shadows are flickering and are change darkness level #403362
06/18/12 19:36
06/18/12 19:36
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline OP
Serious User
PadMalcom  Offline OP
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
Hi I have, once again, a problem using PSSM shadows.

http://www.youtube.com/watch?v=Cg_BhmDJGE0

The shadows are flickering, popping up and changing colors from "normal" to completely black.

Any idea if this is just an implementation problem or (hopefully) my fault?

This is my code:
Code:
void activatePSSM() {
	if (d3d_shaderversion >= 3) {
		//	pssm_run(0);
		shadow_stencil = 8;	
		shadow_lod = 2;
		camera.clip_far = 10000;
		camera.clip_near = 30;
		pssm_fbias = 0.0005;
		pssm_run(4);
		d3d_near_models = 0.5;		
	} else {
		printf("Ihre Grafikkarte unterstützt Shader Model 3 nicht!");
	}
}



Re: PSSM shadows are flickering and are change darkness level [Re: PadMalcom] #466047
05/23/17 00:46
05/23/17 00:46
Joined: May 2005
Posts: 868
Chicago, IL
Dooley Offline
User
Dooley  Offline
User

Joined: May 2005
Posts: 868
Chicago, IL
Sorry no one commented on this. Were you able to solve the problem?

I'm having a similar problem...


Moderated by  Blink, Hummel, Superku 

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