Linear vs. Gamma in PBR render pipelines - 2020-05-14 23:04

Linear vs. Gamma in PBR render pipelines

Link to main site

I’m noticing that its asking for the tangents to be calculated with an attribute create on the shoe. Its a pretty big difference in the render, is there a reason not to do it?

Oh ya, that’s actually a question I had rolling around my head too - I went back and forth for a while trying both attribute create for normals and tangents…

You’re right, tangents made a big difference. Although it wasn’t super clear to me which version seemed correct. Found areas in the model where both with and without looked better/worse depending.

Sometimes the modeling application exports the mesh with custom normals. Usually this is only used to improve fidelity visually with out increasing poly counts. I think TD’s attrib create applies a uniform generic normal calculation that usually looks good when there were no normals before.

The shoe had normals, but no tangents - @malcolm do you have any suggestions here? Is tangent attributes something that technically should always be on/created even when custom normals are provided through the mesh?

Tangents always need to be present when doing normal mapping. Without them the normals created from the normal map will be incorrect.

Awesome thank you for the clarification there too! Will update the file accordingly.
Guessing then if the model has custom normals, then we would turn on create tangents but leave the normals toggle off so tangents are created from the normals in the file?

I’m glad I’m not the only one that couldn’t figure out which way looked better. Ultimately I decided it looked more correct with the normals created, but it was a tough call