-
-
Notifications
You must be signed in to change notification settings - Fork 21.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
External shaders saved to .gdshader
files are not converted by the project upgrade tool
#69597
Comments
I am also getting no materials in the material slot (now surface material override), so they all have to be manually reloaded. Not sure if this has been reported or not? |
Please open a separate issue for this, with MRPs pre-conversion and post-conversion included. |
CC @qarmin How complex would it be to run the upgrader tool over |
If I remember correctly, conversions already runs on godot/editor/project_converter_3_to_4.cpp Lines 1400 to 1416 in 44c0bfc
So problem is with extension If this extension is valid in 3.x, then should be added to files that will be checked for conversion here - godot/editor/project_converter_3_to_4.cpp Line 2391 in 44c0bfc
|
Looks like the |
Godot version
4.0.beta7
System information
Fedora 36, AMD Radeon RX 6900 XT
Issue description
External shaders saved to
.gdshader
files are not converted by the 3to4 conversion tool. By contrast, shaders that are built-in to a scene are converted by this tool.Both built-in and external scripts are correctly converted by 3to4.
Steps to reproduce
uniform sampler2D some_texture : hint_albedo
wherehint_albedo
will be converted bysource_color
.Minimal reproduction project
Before conversion (3.x): test_project_3.zip
After conversion (4.0): test_project_4.zip
The text was updated successfully, but these errors were encountered: