March 2013
Intermediate to advanced
984 pages
26h 18m
English
Fragment processing functions are available only in fragment shaders.
OpenGL implementations typically approximate derivatives by comparing a computed expression’s value at neighboring fragments. Hence, when this is requested within nonuniform control flow (lines of the shader that are conditionally executed, where the condition varies from pixel to pixel), the derivative is undefined.