Route remaining shader setup through helpers
This commit is contained in:
@@ -39,6 +39,12 @@ inline void configure_legacy_ui_color_shader(
|
||||
ShaderManager::u_vec4(kShaderUniform::Col, color);
|
||||
}
|
||||
|
||||
inline void configure_legacy_ui_color_shader(
|
||||
const glm::mat4& mvp) noexcept
|
||||
{
|
||||
configure_legacy_ui_color_shader(mvp, { 0, 0, 0, 1 });
|
||||
}
|
||||
|
||||
inline void configure_legacy_grid_lambert_shader(
|
||||
const glm::mat4& mvp,
|
||||
const glm::vec3& light_dir,
|
||||
|
||||
Reference in New Issue
Block a user