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 …

4,033 views
Advertisement
Advertisement
Advertisement
Advertisement