Skip to content

Latest commit

 

History

History
158 lines (127 loc) · 3.97 KB

File metadata and controls

158 lines (127 loc) · 3.97 KB

Utils

ACES Approximation

DescriptionNode Showcase:
Approximates the ACES color space.

Input Type Description
Color Color The input colour.
Output Type Description
ACES Color Color The ACES mapped colour.

Blackbody Approximation

DescriptionNode Showcase:
Approximates the temperature of lightbulbs as RGB values.

Input Type Description
Temp (Kelvin) Float The radiation temperature in kelvin.
Output Type Description
Colour Color The blackbody radiation colour.

Box Side Mask

DescriptionNode Showcase:
Creates a mask for the grid/cardinal directions.

Input Type Description
Direction Float3 The direction to evaluate.
UV Size Float2 The scale of the sidemask UVs.
Output Type Description
Side Masks Float3 A mask for each XYZ direction, with range -1 to 1.
UV Float2 The UV coordinates of each side.
Distance Float The projection distance from the input direction to the surface.

Kelvin Converter

DescriptionNode Showcase:
Utility function that converts both celsius and fahrenheit to kelvin.

Input Type Description
Celsius Float The good input.
Fahrenheit Float The bad input.
Output Type Description
Kelvin (C) Float Celsius -> Kelvin.
Kelvin (F) Float Fahrenheight -> Kelvin.

RGB to BW

DescriptionNode Showcase:
Converts an RGB value to its grayscale value.

Input Type Description
RGB Color Input RGB Colour.
Output Type Description
BW Float The resulting monochrome/luminance value.

Stereo Eye Index

DescriptionNode Showcase:
Returns the eye index from within VR.

Output Type Description
EyeIndex Float Returns 0 when rendering the left eye and 1 when rendering the right.

Transform Properties

DescriptionNode Showcase:
Gets some of the object transform values.

Output Type Description
Transform.Position Float3 The object worldspace position.
Transform.Scale Float3 The object worldspace scale.