implementing color wheel and new color picker
This commit is contained in:
@@ -152,6 +152,7 @@ void NodeSliderHue::draw()
|
||||
ui::ShaderManager::use(kShader::ColorHue);
|
||||
ui::ShaderManager::u_mat4(kShaderUniform::MVP, m_mvp);
|
||||
//ui::ShaderManager::u_vec4(kShaderUniform::Col, m_color);
|
||||
ui::ShaderManager::u_int(kShaderUniform::Direction, 1); // set vertical
|
||||
m_plane.draw_fill();
|
||||
NodeBorder::m_color = glm::vec4(0);
|
||||
NodeSliderH::draw();
|
||||
|
||||
Reference in New Issue
Block a user