gl_dFdy (screenspace)


  • Where to find it:


    • NodeGraph / Right Mouse Click / Add Nodes / Math / Extension Pack / D /






WARNING

Screenspace nodes work based on your current camera position. 
They are not stable for baking textures without additional opengl operations.

A stable version for baking is available in form of the "gl_dFd+UV" Node



Description


Returns the partial derivative of an argument with respect to y.
dFdy functions return the partial derivative of expression p with respect to the window y coordinate


Expressions that imply higher order derivatives such as dFdy(dFdy(n)) have undefined results, as do mixed-order derivatives such as dFdx(dFdy(n)).
It is assumed that the expression p is continuous and therefore, expressions evaluated via non-uniform control flow may be undefined.

OpenGl Reference


https://registry.khronos.org/OpenGL-Refpages/gl4/html/dFdx.xhtml


Node Ports


  • F

Specifies the expression of which to take the partial derivative.


Node Outputs


  • Output

Return the partial derivative of an argument with respect to y