开发者

What is the most short way to run your GLSL shader (not compiled yet) from C++?

So what is simple - crossplatform C++ library for compiling and running GLSL shaders from source and emulating videocard if needed. Generally I want to give it shader and data and be capable to run it and get resulting data. Is there any such library/ or described way to use some libs 开发者_如何学JAVAin combo?


Probably the easiest way would be to use a cross-platform OpenGL framework like GLFW with a bit to compile and use a shader (e.g., one I posted in a previous answer). For systems that didn't support OpenGL otherwise, you'd probably want to use Mesa3D.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜