Varying mismatch causing shaders to fail.

This commit is contained in:
K. S. Ernest (iFire) Lee 2023-06-23 21:36:38 -07:00
parent 19e7490c9a
commit 39dfa8436e

View File

@ -728,7 +728,7 @@ void SceneShaderForwardClustered::init(const String p_defines) {
actions.base_texture_binding_index = 1;
actions.texture_layout_set = RenderForwardClustered::MATERIAL_UNIFORM_SET;
actions.base_uniform_string = "material.";
actions.base_varying_index = 11;
actions.base_varying_index = 12;
actions.default_filter = ShaderLanguage::FILTER_LINEAR_MIPMAP;
actions.default_repeat = ShaderLanguage::REPEAT_ENABLE;