/shader-graph

Primary LanguageTypeScript

Shader Graph Tool

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.

Install

  1. Clone to the extensions folder

    cd extensions

    git clone git@github.com:2youyou2/shader-graph.git

  2. cd shader-graph

  3. npm install

Usage

  1. Click the shader-graph menu on the top bar.

image

  1. 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.
  2. Click generate button

Screenshots

image

image

image

image