浏览代码

Fix slot definitions for meta pass in HD PBR subshader

/main
Matt Dean 6 年前
当前提交
0ff4b5cc
共有 2 个文件被更改,包括 5 次插入5 次删除
  1. 8
      com.unity.render-pipelines.high-definition/HDRP/Editor/ShaderGraph/HDPBRSubShader.cs
  2. 2
      com.unity.render-pipelines.high-definition/HDRP/Editor/ShaderGraph/HDUnlitSubShader.cs

8
com.unity.render-pipelines.high-definition/HDRP/Editor/ShaderGraph/HDPBRSubShader.cs


PBRMasterNode.AlphaSlotId,
PBRMasterNode.AlphaThresholdSlotId
},
// VertexShaderSlots = new List<int>()
// {
// PBRMasterNode.PositionSlotId
// }
VertexShaderSlots = new List<int>()
{
//PBRMasterNode.PositionSlotId
}
};
Pass m_PassShadowCaster = new Pass()

2
com.unity.render-pipelines.high-definition/HDRP/Editor/ShaderGraph/HDUnlitSubShader.cs


},
VertexShaderSlots = new List<int>()
{
PBRMasterNode.PositionSlotId
//PBRMasterNode.PositionSlotId
}
};

正在加载...
取消
保存