Skip to content
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

Working with RectMask2D in newer Unity versions? #262

Open
swoy45 opened this issue Jan 8, 2024 · 0 comments
Open

Working with RectMask2D in newer Unity versions? #262

swoy45 opened this issue Jan 8, 2024 · 0 comments
Assignees

Comments

@swoy45
Copy link

swoy45 commented Jan 8, 2024

Is your feature request related to a problem? Please describe.
RectMask2D is now working via _ClipRect parameter in shader and using TEXCOORD2 for mask instead of stencil. But UIEffect shaders using TEXCOORD2 for its purposes and simple adding those masking code and binding mask to TEXCOORD3 is not working.

Describe the solution you'd like
Update UIEffect, UIDissolve and UIShiny shaders and corresponding includes in UIEffectSprite.cginc to modern version of Unity built-in UI shader.

Describe alternatives you've considered
Support of SoftMaskForGUI?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants