浏览代码

Updated Documentation

/feature-create-processor-and-material-from-menu
Thomas ICHÉ 4 年前
当前提交
c00c3c08
共有 1 个文件被更改,包括 5 次插入4 次删除
  1. 9
      Documentation~/ImageSequencer.md

9
Documentation~/ImageSequencer.md


#### Writing a shader for Custom Materials
In order to create shaders for Custom material processor you need to create a simple unlit shader from the Project Create Menu : **Shaders > Unlit Shader**. You can alter the default code to match the following code:
In order to create shaders for Custom material processor you need to create a simple unlit shader from the Project Create Menu : **Visual Effects > Custom Material (Shader)**. You can alter the default code to match the following code:
```c
Shader "ImageSequencer/SimpleCustomMaterial"

#### Creating a new Custom Processor
To create a new custom processor so you need the following:
You can create both assets by clicking the Create Asset Menu, under **Visual Effects > Custom Processor (C#, Shader)**
This will create the following assets:
Here is a sample C# code that you can use as a starting base.

正在加载...
取消
保存