-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
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
Fix 3D materials not updating on texture invalidation #54370
Conversation
0497ee1
to
2f4c210
Compare
I think we will need to add the same fix to particle shaders, sky shaders, and fog shaders. |
I'll hunt down all missing spots. I noticed I've missed a few. |
2f4c210
to
831795b
Compare
I checked all usage of |
831795b
to
69b5100
Compare
This is an area of the code I am unfamiliar with, but it looks like reduz wrapped the calls in a check to ensure that godot/servers/rendering/renderer_rd/renderer_canvas_render_rd.cpp Lines 1376 to 1383 in 0dc809c
I'm wondering if it should be the same for the other calls |
69b5100
to
3b8e1dd
Compare
3b8e1dd
to
725fc63
Compare
Yup, seems those checks were intended design, as |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! This is something that reduz should have the final say on though.
Somehow didn't consider that there's a lot of code repetition here. If this is the preferred solution, it would be good for this to have its own function. |
Superseded by #54489. |
See better implementation: #54489
Fixes #51361
Fixes #53206
Fixes #53089
Should fix #42821
Might fix #50296
Might fix #52505
Might fix #45746
It's possible there are other issues related to/fixed by this.
Might be relevant for #50327.
Supersedes #52528
2021-10-29.10-18-00.mp4
Explanation of the issue here:
#51361 (comment)
This is essentially finishing what #50269 set out to do. Implementation derived from:
godot/servers/rendering/renderer_rd/renderer_canvas_render_rd.cpp
Lines 1378 to 1382 in 0dc809c