diff options
author | clayjohn <claynjohn@gmail.com> | 2023-01-09 11:47:14 -0800 |
---|---|---|
committer | clayjohn <claynjohn@gmail.com> | 2023-01-09 11:56:36 -0800 |
commit | 89766848de1667df071174a8b2d5b3e67b53a0e6 (patch) | |
tree | ff9eabb0f99ad9d20dd7217128754417ae54839a /servers/rendering/renderer_rd/forward_mobile | |
parent | f5f7d11ac47244e4cc02cd7336ba86e0ed272dc3 (diff) |
Fix multiple issues that make the normal roughness texture unusable
Diffstat (limited to 'servers/rendering/renderer_rd/forward_mobile')
-rw-r--r-- | servers/rendering/renderer_rd/forward_mobile/scene_shader_forward_mobile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering/renderer_rd/forward_mobile/scene_shader_forward_mobile.cpp b/servers/rendering/renderer_rd/forward_mobile/scene_shader_forward_mobile.cpp index 2e9a33a636..0052ff5110 100644 --- a/servers/rendering/renderer_rd/forward_mobile/scene_shader_forward_mobile.cpp +++ b/servers/rendering/renderer_rd/forward_mobile/scene_shader_forward_mobile.cpp @@ -122,7 +122,7 @@ void SceneShaderForwardMobile::ShaderData::set_code(const String &p_code) { actions.usage_flag_pointers["SCREEN_TEXTURE"] = &uses_screen_texture; actions.usage_flag_pointers["DEPTH_TEXTURE"] = &uses_depth_texture; - actions.usage_flag_pointers["NORMAL_TEXTURE"] = &uses_normal_texture; + actions.usage_flag_pointers["NORMAL_ROUGHNESS_TEXTURE"] = &uses_normal_texture; actions.usage_flag_pointers["DISCARD"] = &uses_discard; actions.usage_flag_pointers["TIME"] = &uses_time; actions.usage_flag_pointers["ROUGHNESS"] = &uses_roughness; |