Skip to content
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

Userland pixel shader language #106

Open
osnr opened this issue Oct 25, 2023 · 4 comments
Open

Userland pixel shader language #106

osnr opened this issue Oct 25, 2023 · 4 comments

Comments

@osnr
Copy link
Collaborator

osnr commented Oct 25, 2023

so you can shade a page (or region) with a one-liner:

image
@cwervo
Copy link
Collaborator

cwervo commented Jul 16, 2024

@osnr thanks to your push on Vulkan, should we close this?

@cwervo
Copy link
Collaborator

cwervo commented Jul 16, 2024

Or, was your point that we could add sugar to make the shader interface cleaner?

@osnr
Copy link
Collaborator Author

osnr commented Jul 16, 2024

Or, was your point that we could add sugar to make the shader interface cleaner?

Yeah. This issue is because of Vulkan, the shader interface is still too tedious to use for simple toys

@cwervo
Copy link
Collaborator

cwervo commented Jul 25, 2024

Adding onto this:

  • Should auto include functions claimed before the userland shader Wish
  • Should add a default set of useful uniforms (at least u_time and u_resolution)

There's a bunch of other defaults I'm thinking of, will sketch this out more next week when I have more time

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

No branches or pull requests

2 participants