浏览代码

fix gradientnode export mode

/main
Florent Guinier 7 年前
当前提交
6722e7ea
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7
      MaterialGraphProject/Assets/_MingWai/GradientNode.cs

7
MaterialGraphProject/Assets/_MingWai/GradientNode.cs


get { return true; }
}
protected virtual string GetFunctionCall(GenerationMode generationMode)
{
//here we don't want to generate final value as the parameters are used as output
//TODO allow to define parameters as ouput in the function prototype and handle
//that automatically
return base.GetFunctionCall(GenerationMode.Preview);
}
private void GNF(ShaderGenerator visitor, GenerationMode generationMode)
{

正在加载...
取消
保存