浏览代码

Update Is NaN node for GLES and D3D

Fixes #218
/main
Matt Dean 7 年前
当前提交
6cb97136
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Data/Nodes/Utility/Logic/IsNanNode.cs

2
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Data/Nodes/Utility/Logic/IsNanNode.cs


return
@"
{
Out = isnan(In);
Out = (In < 0.0 || In > 0.0 || In == 0.0) ? 0 : 1;
}
";
}
正在加载...
取消
保存