-
-
Notifications
You must be signed in to change notification settings - Fork 268
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
ShaderGraph is not working correctly #191
Comments
I would like to know more about this issue.
Could you please attach a minimal project (included |
Alright, I'll send over the project files later after finishing moving the files to minimal project |
develop/build environment:
And here the minimal project files. |
Thank you! |
I'm testing it on 6000.0.16f1.
|
Sorry. |
Thank you for the update. It seems that using Shader Graph with soft mask support along with Canvas.renderMode set to ScreenSpaceCamera can lead to this bug occurring. Are there any workarounds for this issue? |
Not at the moment. Additionally, with |
Maybe we should implement a |
Sounds like a good plan! I’m not too familiar with RP RendererFeature either, it’s indeed a great chance to learn. But I think there’s no need to rush since it only affects Canvas.renderMode set to ScreenSpaceCamera with the soft mask mode. We can use another two-mode left that works for now! |
The renderer feature `SoftMaskable ShaderGraph Support (Editor)` is required in the editor. ![](https://github.com/user-attachments/assets/43dd860d-11dc-4fb5-9cf8-619019a378eb) :warning: Currently, the soft-maskable ShaderGraph does not display correctly in the SceneView.
If you are interested you can try the RC version.
For details, see https://github.com/mob-sakai/SoftMaskForUGUI/tree/develop/Packages/src#usage-with-shadergraph
|
Sure, I'll give it a try later |
## [2.3.4](v2.3.3...v2.3.4) (2024-09-14) ### Bug Fixes * MaskingShapeContainer NullReferenceException in demo ([#195](#195)) ([96a090f](96a090f)) * ShaderGraph is not working correctly ([#191](#191)) ([82c38dd](82c38dd)) * subtract mode `MaskingShape` does not display correctly in the editor ([f83a647](f83a647))
The renderer feature `SoftMaskable ShaderGraph Support (Editor)` is required in the editor. ![](https://github.com/user-attachments/assets/43dd860d-11dc-4fb5-9cf8-619019a378eb) :warning: Currently, the soft-maskable ShaderGraph does not display correctly in the SceneView.
## [2.3.4](v2.3.3...v2.3.4) (2024-09-14) ### Bug Fixes * MaskingShapeContainer NullReferenceException in demo ([#195](#195)) ([96a090f](96a090f)) * ShaderGraph is not working correctly ([#191](#191)) ([82c38dd](82c38dd)) * subtract mode `MaskingShape` does not display correctly in the editor ([f83a647](f83a647))
🎉 This issue has been resolved in version 2.3.4 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Masking mode: Soft Masking
UIDefault (SoftMaskable):
Custom ShaderGraph shader:
The other mode appears to be normal.
Masking mode: Anti Aliasing
Masking mode: Normal
I have already tried testing it on the new scene, and the bug appears there as well, but it's not as noticeable as in the current scene I'm using.
Originally posted by @GID0317 in #190 (comment)
The text was updated successfully, but these errors were encountered: