Is it possible to extract the Blender Shader and use them in OpenGL as vertex/fragment shaders (GLSL)?
2 Answers
$\begingroup$
$\endgroup$
1
Yes you can if you use an addon, see the BlenderArtists page here. That page doesn't have the correct download link but you can get it here. From memory, this addon generates rather long and possibly unoptimised GLSL fragment code.
-
$\begingroup$ this is outdated, I would like to know if there is something recent working for this question $\endgroup$ Commented Jul 26, 2022 at 3:38
$\begingroup$
$\endgroup$
Proof of concept: compiling material nodes into GLSL shaders: https://github.com/Bentschi/Blender-GLSL-translator
Also see: https://developer.blender.org/F151259