浏览代码

Merge branch 'hackweek2017' of https://github.com/stramit/MaterialGraph into hackweek2017

/main
bfogerty 8 年前
当前提交
ca642cc1
共有 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)
{

正在加载...
取消
保存