Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
4 registered members (dBc, clonman, TipmyPip, 1 invisible), 18,936 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
tangent.w acts wrong? #372276
05/30/11 22:25
05/30/11 22:25
Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
Puppeteer Offline OP
Expert
Puppeteer  Offline OP
Expert

Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
I am using a normal mapping shader on a character and it seems the binormal acts weird.
I tried the same model in Unity3d and the normal mapping worked perfectly so it is not an issue of the model.

Example:
Picture

Look at his nipples. One nipples lighting is horizontally inverted.

I talked to a lot of people and it seems that this is a common issue.

It would be great if this could be fixed in the next version as it really lowers the quality of the normal mapping and creates really unrealistic lighting on some models.


Thank you
Puppeteer


Formally known as Omega
Avatar randomness by Quadraxas & Blade
http://omegapuppeteer.mybrute.com
Re: tangent.w acts wrong? [Re: Puppeteer] #372296
05/31/11 09:53
05/31/11 09:53
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
Tangent.w is correct, and normal mapping works obviously with other people's shaders. A bad looking shader, as in your image, could be the result of a wrong built tangent matrix. A similar problem can be caused by using bones matrices in combination with non-uniform scaling. It can be even a wrong normal map. We had all those cases.

Correct normal mapping is indeed a little tricky due to just this problem. Check out the shader workshop, chapter 4. You can also use one of our standard normal mapping shaders as a template.

Re: tangent.w acts wrong? [Re: jcl] #372327
05/31/11 18:49
05/31/11 18:49
Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
Puppeteer Offline OP
Expert
Puppeteer  Offline OP
Expert

Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
Thank you!

You were right. The template shader works as it should.
I will find out what gone wrong with my shader.

Thanks again.


Formally known as Omega
Avatar randomness by Quadraxas & Blade
http://omegapuppeteer.mybrute.com

Moderated by  Blink, Hummel, Superku 

Gamestudio download | 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