Merge pull request #78637 from V-Sekai/varying-offset-mismatch

Varying mismatch causing shaders to fail.
This commit is contained in:
Rémi Verschelde 2023-06-24 22:26:13 +02:00 committed by GitHub
commit 3710f06929
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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;