Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (7th_zorro, degenerate_762, AndrewAMD, ozgur), 774 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
[SOLVED] normal map shader black triangles errors #459238
04/30/16 13:49
04/30/16 13:49
Joined: Dec 2011
Posts: 1,823
Netherlands
Reconnoiter Offline OP
Serious User
Reconnoiter  Offline OP
Serious User

Joined: Dec 2011
Posts: 1,823
Netherlands
Hi,

When using the default normal map / specular bump map shaders from Gamestudio 3d and from shader tutorials on one my models, I get these transparent black triangles over the model at some camera angles.
I think this has got to do that I did the uv mapping for the model wrong.
Here's a pic of the error (note that this is not a shadow):


How to the uv wrapping right so it doesn't show these problems?
tnx

Last edited by Reconnoiter; 05/01/16 12:17.
Re: normal map shader black triangles errors [Re: Reconnoiter] #459245
04/30/16 21:27
04/30/16 21:27
Joined: Feb 2011
Posts: 124
Germany Nrw Herford
HenWoll Offline
Member
HenWoll  Offline
Member

Joined: Feb 2011
Posts: 124
Germany Nrw Herford
note that this is not a shadow

ok.. At the uv - map , I think it very unlikely . dies looks much more like not closed model , was a faulty stencil shadow .

can you upload a testlevel ? so it can be observed better

[SOLVED] Re: normal map shader black triangles errors [Re: HenWoll] #459251
05/01/16 12:05
05/01/16 12:05
Joined: Dec 2011
Posts: 1,823
Netherlands
Reconnoiter Offline OP
Serious User
Reconnoiter  Offline OP
Serious User

Joined: Dec 2011
Posts: 1,823
Netherlands
Hi BlackJack,

I think I found the problem, my camera clip near and clip far were set wrong (1 and 2000). And I noticed it was for other models with a normal map too. For some reason it showed only flickering errors for models when in combination with a normal map material and shadows on (whether shadowmapping or stencil didn't make a difference).

Here is another shot of the error, just incase other people have something similar:

Last edited by Reconnoiter; 05/01/16 12:06.

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