Route remaining shader setup through helpers

This commit is contained in:
2026-06-13 06:22:39 +02:00
parent 05b721bce6
commit 493282264d
9 changed files with 132 additions and 64 deletions

View File

@@ -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,