gl_determinant (mat2)


  • Where to find it:


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




Description


determinant returns the determinant of the matrix input.
The Input is evaluated as a mat2 matrix

mat2(#Input.r,#Input.g,#Input.b,#Input.a);

OpenGl Reference


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


Node Ports


  • Input

Specifies the Input Matrix.
The Matrix will be constructed from the Input Channels as

mat2(#Input.r,#Input.g,#Input.b,#Input.a);


Node Outputs


  • Output

Returns the determinant