mitsuba-renderer / nanogui

Minimalistic C++/Python GUI library for OpenGL, GLES2/3, Metal, and WebAssembly/WebGL
Other
1.57k stars 196 forks source link

GLShader #65

Closed xarthurx closed 2 years ago

xarthurx commented 3 years ago

It seems the glutils.h was deleted and the related GLShader class is now just an empty class in common.h.

How should a shader defined with this new version of nanogui? I cannot find any doc or intro about this....

wjakob commented 2 years ago

Please take a look at example1-4. The way to specify shaders is now more complicated because there are 3 possible backends.