gl_sign


  • Where to find it:


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




Description


sign returns -1.0 if x is less than 0.0, 0.0 if x is equal to 0.0, and +1.0 if x is greater than 0.0.

OpenGl Reference


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


Node Ports


  • X

Specify the value from which to extract the sign


Node Outputs


  • Output RGB

Separate computation for Input Channels Red, Green, Blue with an Alpha Channel of 1.0


  • R

Computation for Input Red channel only, saved into R, G and B channel with an Alpha of 1.0


  • G

Computation for Input Green channel only, saved into R, G and B channel with an Alpha of 1.0


  • B

Computation for Input Blue channel only, saved into R, G and B channel with an Alpha of 1.0


  • A

Computation for Input Alpha channel only, saved into R, G and B channel with an Alpha of 1.0







Created with the Personal Edition of HelpNDoc: Create HTML Help, DOC, PDF and print manuals from 1 single source