You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Disabling the shader pre-processor with #pragma disable_preprocessor causes errors to be displayed about built-ins being unknown. However, the shader will correctly compile and function as normal - the error is only in the shader editor.
Godot version
4.0.3.stable
System information
Linux - Godot v4.0.3.stable - Vulkan (Forward+)
Issue description
Disabling the shader pre-processor with
#pragma disable_preprocessor
causes errors to be displayed about built-ins being unknown. However, the shader will correctly compile and function as normal - the error is only in the shader editor.Example screenshot:
Steps to reproduce
error-example.gdshader
in shader editorMinimal reproduction project
godot-4-shader-preprocessor-editor-error-minimal-reproduction-project-main.zip
Can also be found at: https://github.com/MenacingMecha/godot-4-shader-preprocessor-editor-error-minimal-reproduction-project
The text was updated successfully, but these errors were encountered: