🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Advertisement

Latest TBN Activity

Normals have weird splodges when TBN is applied

Are you visualizing the normals correctly? It looks like the black is just negative values. You should do something like this to debug normals so that they are in [0,1] range:

gl_FragColor.rgb = n*0.5 + 0.5;

The colors are also much too saturated. If rendered with correct gamma, it should be lighter …

2,928 views
Advertisement
Advertisement
Advertisement