-
-
Notifications
You must be signed in to change notification settings - Fork 219
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
Implement MaskPass #652
Comments
I've left out Also, any concrete use cases for stencil-based masking would be appreciated. |
MaskPass
is missing from v7. By omission or design?
I would say the most common use case I can think of is helping with composition when some the resulting edges of some effects are not clamped. For example, blur, bloom etc. I know that theoretically they could be clamped in the shaders, but that's not always desirable or available. Also, some really nice transition animations can be achieved with masking that's really difficult otherwise. For example, blurring objects that are far and then bringing them into focus. Please note that I'm still a novice with webgl and there might be other ways to achieve the above, but I can't think of any. |
Is your feature request related to a problem?
MaskPass
seems to be missing from v7. Not sure if by design or not. Didn't find any relevant info in the roadmap.Describe the solution you'd like
MaskPass
should be in v7, I feel like the design was very clear in v6.Describe alternatives you've considered
I'm considering implementing it myself based on the v6 example, but unsure if there's a different way to achieve the same thing (using the stencil buffer).
The text was updated successfully, but these errors were encountered: