🎉 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!
Latest TBN Activity
![Normals have weird splodges when TBN is applied](https://uploads.gamedev.net/forums/monthly_2023_11/445d089ded9947869d9bd1f7ddd5a1be.image.png)
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 …
Advertisement
Advertisement