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
4 registered members (7th_zorro, Quad, VoroneTZ, 1 invisible), 623 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
[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