-
Notifications
You must be signed in to change notification settings - Fork 31
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
Labels
Comments
PSteinhaus
added
enhancement
New feature or request
help wanted
Extra attention is needed
labels
Sep 14, 2021
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 |
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
ggez currently features three functions allowing you to use custom shaders when drawing:
set_shader
clear_shader
use_shader
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
andshadows.rs
should be pretty straightforward (at least forshader.rs
, not sure whether the shaders inshadows.rs
can be written to work in glsl100).The text was updated successfully, but these errors were encountered: