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

Add vertex shader support #14

Open
Limeth opened this issue Dec 12, 2020 · 0 comments
Open

Add vertex shader support #14

Limeth opened this issue Dec 12, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@Limeth
Copy link
Owner

Limeth commented Dec 12, 2020

As discussed in this PR, it would be desirable to add a proper way to specify entry points for the vertex stage. The mentioned PR successfully shadows the definition of builtin_shader_vertex from the template. Maybe we could abuse this technique to provide a more user-friendly way to optionally specify the logic for the vertex stage:

void vertex(inout float4 vertex, inout float2 uv)

@Limeth Limeth added the enhancement New feature or request label Dec 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant