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

shaders #51

Open
PSteinhaus opened this issue Sep 14, 2021 · 1 comment
Open

shaders #51

PSteinhaus opened this issue Sep 14, 2021 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@PSteinhaus
Copy link
Member

ggez currently features three functions allowing you to use custom shaders when drawing:

It should be possible to implement them using miniquad, but since I'm relatively inexperienced when it comes to shaders (and using shaders with miniquad) I leave this open for now for anyone willing to help.

Once the functionality is implemented porting the two examples shader.rs and shadows.rs should be pretty straightforward (at least for shader.rs, not sure whether the shaders in shadows.rs can be written to work in glsl100).

@PSteinhaus PSteinhaus added enhancement New feature or request help wanted Extra attention is needed labels Sep 14, 2021
@PSteinhaus
Copy link
Member Author

Ok, I managed to struggle through it and I'm pretty happy with the result!: 977b0d5

Now all that's left is trying to port shadows.rs, though I'm still not sure whether this is possible in glsl100; we'll see.

@PSteinhaus PSteinhaus added good first issue Good for newcomers and removed help wanted Extra attention is needed labels Sep 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant