gl_determinant (mat3)


  • Where to find it:


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




Description


determinant returns the determinant of the matrix.
The matrix is constructed from the 3 Input Ports

mat3 T = mat3(

              #InputA.r,#InputA.g,#InputA.b,

              #InputB.r,#InputB.g,#InputB.b,

              #InputC.r,#InputC.g,#InputC.b

              );

OpenGl Reference


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


Node Ports


  • InputA / InputB / InputC

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

mat3 T = mat3(

              #InputA.r,#InputA.g,#InputA.b,

              #InputB.r,#InputB.g,#InputB.b,

              #InputC.r,#InputC.g,#InputC.b

              );

Node Outputs


  • Output

Returns the determinant