Because I want to make materials using major node editor, found a way that exporting glsl shaders using substance designer’s materialX plugin.
MaterialX supports only GLSL v4.0 or higher, so I have converted those shaders to GLSL es 3.0.
and then, I put shaders in RawShaderMaterial and converted some uniforms to three’s built-in uniforms.
now, I see at least the shape of the object but the material works not at all.
Have you any idea of the right way to get materials using shaders from materialX’s nodes?
here is my code sandbox : materialX_test - CodeSandbox