浏览代码

RGBtoLuminance: fix for the fix

/main
Matt Dean 8 年前
当前提交
2fdc11d3
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
      MaterialGraphProject/Assets/Matt/RGBtoLuminance.cs

1
MaterialGraphProject/Assets/Matt/RGBtoLuminance.cs


protected override MaterialSlot GetOutputSlot ()
{
return new MaterialSlot (OutputSlotId, GetOutputSlotName (), kOutputSlotShaderName, SlotType.Output, SlotValueType.Vector1, Vector4.zero);
}
// Convert rgb to luminance with rgb in linear space with sRGB primaries and D65 white point (from PostProcessing)

正在加载...
取消
保存