Export GLSL

How do I export my material to .glsl file? Because all the old treads no longer work, and some of them don’t even have any reply. :thinking: :thinking:

Please help…

Export model as X3D and enable H3D extensions.
You’ll get folder called shaders with fragment and vertex shaders.


Oof, forgot about this forum’s existence.

How do I export the model like that?

From the menu :
File —>export —> X3d extensible 3d .x3d
on the save dialog select H3D extensions as well.

If you don’t have x3d, you’ll have to enable it under user preferences–> addons —>Import-Export X3d/VRML2 format , but I think it is on by default.

Thanks a lot!