Replies: 2 comments 1 reply
-
If you inherit control you can override OnRender and get Skia API. See Avalonia.Samples SnowflakesControl sample |
Beta Was this translation helpful? Give feedback.
1 reply
-
I've added support for what I suggested in this discussion here: #17903 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm working on a UI that's based on a 3D render, one of the outputs from the the render is a shadow pass, which to look correct must be set to the "Multiply" blending mode, which is not currently easily available.
Looking around, it seems the Skia renderer supports this natively: doc link. So maybe it would be easy to expose this? Let me know if it's something I should be able to easily implement myself
How it looks today (no blending mode), Notice how the shadow make the rail look gray under the button:
How it should look (Multiply blend mode), Notice the correct shadow:
Beta Was this translation helpful? Give feedback.
All reactions