vydd/sketch

How to use shaders?

Opened this issue · 2 comments

kflak commented

Hi,

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

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 commented

Thanks, I will look into it!