正在加载视频...

视频加载失败

Simple SwiftUI shader to represent ideas in Dream Machine 🫧✨

72,854 次观看 • 1 年前 •via X (Twitter)

12 条评论

Theo Panagiotopoulos 的头像
Theo Panagiotopoulos1 年前

We wanted this to be performant since we often show multiple instances at once + ability to apply over any content 👀

Theo Panagiotopoulos 的头像
Theo Panagiotopoulos1 年前

SwiftUI shaders have a bunch of gotchas and can be a very bad perf decision if not careful, since you lose a lot of the optimizations you'd normally be able to do in Metal - like not shading pixels off-screen, not reevaluating when layer moves, etc. but they're oh so convenient 😅

Theo Panagiotopoulos 的头像
Theo Panagiotopoulos1 年前

One trick we're using here to help sell the snow-globe effect in a single pass is flipping & blurring underlying image and letting color from the flipped image bleed through the edges 😊

Theo Panagiotopoulos 的头像
Theo Panagiotopoulos1 年前

Some more examples:

ASTROMEDA - Wishlist on Steam! 的头像
ASTROMEDA - Wishlist on Steam!2 年前

A small teaser of Astromeda! It's a game inspired by Pokemon, Undertale, and OneShot. Wishlist on Steam! #TrailerTuesday #indiegame #IndieGameDev #GamingNews #Steam

Janum Trivedi 的头像
Janum Trivedi1 年前

Really great work, this is super impressive :)

Theo Panagiotopoulos 的头像
Theo Panagiotopoulos1 年前

🙇

Donnie 的头像
Donnie1 年前

Gist please. 🙏🏼

Samarth Sinha 的头像
Samarth Sinha1 年前

Looks like cursor code

Marc 的头像
Marc1 年前

this looks incredible! nice work

Ben South 的头像
Ben South1 年前

beautiful

Theo Panagiotopoulos 的头像
Theo Panagiotopoulos1 年前

🙇‍♂️

相关视频