sketch icon indicating copy to clipboard operation
sketch copied to clipboard

How to use shaders?

Open kflak opened this issue 1 year ago • 2 comments

Hi,

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

kflak avatar Aug 14 '24 18:08 kflak

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

Kevinpgalligan avatar Aug 17 '24 17:08 Kevinpgalligan

Thanks, I will look into it!

kflak avatar Aug 19 '24 14:08 kflak