Shader Graph Tool (Based on Cocos Creator 3D v3.4) can import Unity Shader Graph files as Cocos Creator Effect files.
Note : Unity Shader Graph has more than 200 Shader Nodes, we had implemented about 100 Shader Nodes of them. Still working hard on it.
-
Clone to the
extensions
foldercd extensions
git clone git@github.com:2youyou2/shader-graph.git
-
cd shader-graph
-
npm install
- Click the shader-graph menu on the top bar.
-
Add the src folder and dst folder to configuration.
- The src folder should contains the *.ShaderGraph files and the relative *.ShaderSubGraph files.
- Shader Graph will generate the effect files to the dst folder.
-
Click generate button