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

How to use shaders? #173

Open
kflak opened this issue Aug 14, 2024 · 2 comments
Open

How to use shaders? #173

kflak opened this issue Aug 14, 2024 · 2 comments

Comments

@kflak
Copy link

kflak commented Aug 14, 2024

Hi,

Do you have any example code/tutorials/other resources on how to use shaders with sketch?

@Kevinpgalligan
Copy link
Contributor

I haven't done this myself. Under the hood, Sketch uses cl-opengl for graphics stuff, so you could probably use the shader examples from that repo as a starting point. E.g. https://github.com/3b/cl-opengl/blob/2ca2a246d701ee65432f9a52a7c5bafcbce48f86/examples/misc/shader-vao.lisp#L2

@kflak
Copy link
Author

kflak commented Aug 19, 2024

Thanks, I will look into it!

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