4
$\begingroup$

Is it possible to extract the Blender Shader and use them in OpenGL as vertex/fragment shaders (GLSL)?

$\endgroup$

2 Answers 2

4
$\begingroup$

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.

$\endgroup$
1
  • $\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
0
$\begingroup$

Proof of concept: compiling material nodes into GLSL shaders: https://github.com/Bentschi/Blender-GLSL-translator

Also see: https://developer.blender.org/F151259

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .