浏览代码

Reverted the additional instancing ID in the vertex input.

/main
Andre McGrail 7 年前
当前提交
ecc51271
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 3
      com.unity.render-pipelines.lightweight/LWRP/Editor/ShaderGraph/LightWeightPBRSubShader.cs

3
com.unity.render-pipelines.lightweight/LWRP/Editor/ShaderGraph/LightWeightPBRSubShader.cs


foreach (var channel in vertexRequirements.requiresMeshUVs.Distinct())
vertexDescriptionInputStruct.AppendLine("half4 {0};", channel.GetUVName());
vertexDescriptionInputStruct.AppendLine("UNITY_VERTEX_INPUT_INSTANCE_ID");
}
// -------------------------------------

正在加载...
取消
保存