Skip to main content
replaced http://blender.stackexchange.com/ with https://blender.stackexchange.com/
Source Link

as described in Blender Shader in OpenGL/GLSLBlender Shader in OpenGL/GLSL, it is possible to export the (unoptimized) GLSL code generated by Blender for a given material.

Since the viewport can use such GLSL for real-time shading, my understanding is that Blender could be used to fully design and preview assets for real-time applications, without restricting materials to existing shaders/parameters (since nodes can be used to design a large variety of GLSL-exportable materials).

But exporting GLSL shaders manually for each material, then exporting geometries, and finally associating them in the final render engine does not seem like an efficient workflow.

So I was wondering if there exists any Blender model exporter (whatever file format it exports to) that does export generated GLSL code alongside geometries?

Regards.

as described in Blender Shader in OpenGL/GLSL, it is possible to export the (unoptimized) GLSL code generated by Blender for a given material.

Since the viewport can use such GLSL for real-time shading, my understanding is that Blender could be used to fully design and preview assets for real-time applications, without restricting materials to existing shaders/parameters (since nodes can be used to design a large variety of GLSL-exportable materials).

But exporting GLSL shaders manually for each material, then exporting geometries, and finally associating them in the final render engine does not seem like an efficient workflow.

So I was wondering if there exists any Blender model exporter (whatever file format it exports to) that does export generated GLSL code alongside geometries?

Regards.

as described in Blender Shader in OpenGL/GLSL, it is possible to export the (unoptimized) GLSL code generated by Blender for a given material.

Since the viewport can use such GLSL for real-time shading, my understanding is that Blender could be used to fully design and preview assets for real-time applications, without restricting materials to existing shaders/parameters (since nodes can be used to design a large variety of GLSL-exportable materials).

But exporting GLSL shaders manually for each material, then exporting geometries, and finally associating them in the final render engine does not seem like an efficient workflow.

So I was wondering if there exists any Blender model exporter (whatever file format it exports to) that does export generated GLSL code alongside geometries?

Regards.

Tweeted twitter.com/#!/StackBlender/status/610241032912007170
Source Link
oparisy
  • 357
  • 3
  • 15

Does a model exporter embedding materials as GLSL scripts exist?

as described in Blender Shader in OpenGL/GLSL, it is possible to export the (unoptimized) GLSL code generated by Blender for a given material.

Since the viewport can use such GLSL for real-time shading, my understanding is that Blender could be used to fully design and preview assets for real-time applications, without restricting materials to existing shaders/parameters (since nodes can be used to design a large variety of GLSL-exportable materials).

But exporting GLSL shaders manually for each material, then exporting geometries, and finally associating them in the final render engine does not seem like an efficient workflow.

So I was wondering if there exists any Blender model exporter (whatever file format it exports to) that does export generated GLSL code alongside geometries?

Regards.