ColorVector

Gradient like Texture where each RGBA color component can be controlled independently using a Curve. They can be pre-generated offline or dynamically at runtime. Usually used to create special effects or modulated with other existing Texture; they are used in shaders to alter coloration and more.

Color vector textures can either be generated in LDR or HDR. Depending on the values set by the RGB and alpha curves the Texture will automatically adjust itself.

See Also

Static Variables


Name Description
texture The parent Texture asset the ColorVector belongs to.
curve_x Curve that controls the red component of the ColorVector.
curve_y Curve that controls the green component of the ColorVector.
curve_z Curve that controls the blue component of the ColorVector.
curve_w Curve that controls the alpha component of the ColorVector.

Functions


Name Description
GetVectorAtPosition Return the color located at a specific position.
ToTexture Generate a Texture using the active ColorVector configuration.




NRG - API 2022.4.384543 - Fri Nov 4 2022
Copyright © 2022 nrgcore.com. All Rights Reserved. Terms of Service - Privacy Policy - EULA