Quantcast
Viewing all articles
Browse latest Browse all 40524

ES2 stock shaders not compiling

for the record, with OpenGLES and OF 0.8.4 on Raspberry Pi, I have to add

#ifdef TARGET_OPENGLES
    ofSetCurrentRenderer(ofGLProgrammableRenderer::TYPE);
#endif

in main() (main.cpp) to make shader compile on that platform.

hope this helps

cheers


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>