cbaggers / varjo

Lisp to GLSL Language Translator
BSD 2-Clause "Simplified" License
223 stars 23 forks source link

Opengl ES support? #194

Closed v-a-1 closed 6 years ago

v-a-1 commented 6 years ago

I'm trying to use varjo to output shaders for opengl es. The only thing needed really is the header line which should be "# version 300 es". However there is no such supported version.

Is there a reason for this? Opengl es would naturally fit right in, considering it is a smaller subset. I tried patching the supported-versions variable and add a version, but it seems to lead to other problems. I'm assuming the supported versions check against functions that are supported.

Could I use this with minimal changes for opengl es? or is it just not possible?

cbaggers commented 6 years ago

This is a duplicate issue, but you can see here what we would have to do to make this happen.