Skip to content

Modernize to new wgpu features - #58

Merged
Vipitis merged 17 commits into
mainfrom
modernize
Dec 30, 2025
Merged

Modernize to new wgpu features#58
Vipitis merged 17 commits into
mainfrom
modernize

Conversation

@Vipitis

@Vipitis Vipitis commented Nov 16, 2025

Copy link
Copy Markdown
Collaborator

Finding motivation to work on this project some more.

Couple of improvements from upstream advancements:

@Vipitis
Vipitis marked this pull request as ready for review December 1, 2025 20:07
@Vipitis

Vipitis commented Dec 1, 2025

Copy link
Copy Markdown
Collaborator Author

CI failure is related to #57 and the changes to the Shadertoy.com website like cloudflare ddos protection. The easiest solution would be to just package the texture (and other media) or provide an alternative source. However I am not sure what the individual copyright is for these files. We can also hope that embedding, API and perhaps media becomes available in the near future again.

Generally there should be some fallback for offline use. Maybe we could include a cache filling command for the cli, but feels convoluted.

In general I also want to make using Shadertoy media more user friendly by letting users create channels using the name. For example all three variants could be made to work:

shader = Shadertoy(my_code, inputs=["Bayer", ShadertoyChannel("Font 1"), ShadertoyChannelTexture("Lichen")]

@Vipitis
Vipitis requested a review from Korijn December 30, 2025 20:53

@Korijn Korijn left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy to see the progress made here! (I've been following along with every commit) Nice work. :)

@Vipitis
Vipitis merged commit dff9ee7 into main Dec 30, 2025
10 checks passed
@Vipitis
Vipitis deleted the modernize branch December 30, 2025 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants