iterami
/
Docs.htm
/
common HTM Projects
/
webgl.js
/webgl_color_set(args)
Sets and updates uniforms to an RGB color for 1 type:
ambient
clear
directional
If the "clear" type is used, "webgl.clearcolor()" will also be called.
Arg
Default
Type
blue
false
boolean false or number 0-1
green
false
boolean false or number 0-1
red
false
boolean false or number 0-1
type
'clear'
string