In this article about shader derivative functions I will explain what they do and why they are so important. I’ll give you some details about hardware implementation and I’ll show some use examples. I will also discuss about branching and its implications on derivatives.
In this article I’m gonna talk about normal unpacking for unsigned 8 bit per channel normal maps. I will discuss in detail the difference between two different unpacking formulas and what they mean in term of quantization errors.