Description
Converts RGB color format to procedural texture, e.g [0,0,0,1] becomes "#(argb,8,8,3)color(0,0,0,1)".
Values are in range 0..1.
Syntax
color call BIS_fnc_colorRGBAtoTexture
Parameters:
color: Array - format [R,G,B,A]
Returns: String - procedural texture to format "#(argb,8,8,3)color(R,G,B,A)"
Examples
Example 1
private _texture = [0,0,0,1] call BIS_fnc_colorRGBAtoTexture;