Are there any solution to convert GLSL for Substance Painter from Unity Shader?

Hi! I’m trying to convert GLSL for Substance Painter from Unity Shader (Built-in Shader or URP).

As long as I know, hlsl2glsl is the similar one that I’m looking for.

However this repository is too old to build the solution yet.

FYI: cg2glsl is also similar the solution however I’ll have to convert GLSL from “Properties” and “SubShader” of Unity Shader manually then I don’t adopt it for now.

Even though I can built and convert to GLSL from Unity Shader (Built-in Shader) by hlsl2glsl
I additionally have to convert the GLSL for Substance Painter from the GLSL using Substance Painter Shader API.

So I will have to do at least 2 steps to achieve my goal but I can’t yet due to the above reason.

Could you please tell me how to convert GLSL for Substance Painter from Unity shader if you have the solution?

Thanks in advance,

  • Ryu