Now that Skiko has bindings to enable shader-based...
# compose-desktop
k
Now that Skiko has bindings to enable shader-based render effects, this is another glimpse of what that enables to do. Here is a combination of blur, drop shadows, gradients and noise texture, all with a single composite shader applied on top of the
Canvas
composable.
๐Ÿ‘๐Ÿป 1
๐Ÿ‘€ 8
๐Ÿ‘๐Ÿผ 1
๐Ÿ‘ 5
K 23
๐Ÿ˜ฎ 7
๐Ÿ”ฅ 21
๐Ÿคฉ 6
๐ŸŽ‰ 5
Demo code over here, based on visuals from here.
j
this is really, really cool @Kirill Grouchnikov! nice work mate every time you post your shader examples my eyes light up ๐Ÿคฉ
๐Ÿ–๏ธ 1
k
Yes, it's really pushing boundaries of awesome appearance and presentation! That sample pic has amazing effects!
๐Ÿ’ฏ 1
๐Ÿ‘ 2
Mate, the more I look at that pic, the more I love it! All the effects, the colours, the bleed, the frosting, the sharpness... It's pure art!
โž• 1
d
does this work on android?
f
I think that custom shader support is coming to Android 13 but not sure
I've listened to the latest ADB podcast episode about this but I understood only maybe 5% of the conversation because I know nothing about graphics or shaders ๐Ÿ˜…
โž• 2
k
It's not going to be a 1-to-1 mapping since the API surface of https://developer.android.com/reference/android/graphics/RuntimeShader is slightly different than that of Skia itself that is exposed more directly in Skiko. The concepts are the same, since it's Skia underneath in both cases though.
a
This is disturbingly good mate. I am suddenly feeling hot just looking at this. Dope work
๐Ÿ’ฏ 5