Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Trading Journey
by howardR. 04/24/24 20:04
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (wandaluciaia, AndrewAMD, 1 invisible), 765 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 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