diff --git a/com.unity.render-pipelines.high-definition/Editor/Material/Eye/ShaderGraph/EyeSubTarget.Migration.cs b/com.unity.render-pipelines.high-definition/Editor/Material/Eye/ShaderGraph/EyeSubTarget.Migration.cs index e1a14d2df52..948f9d206d1 100644 --- a/com.unity.render-pipelines.high-definition/Editor/Material/Eye/ShaderGraph/EyeSubTarget.Migration.cs +++ b/com.unity.render-pipelines.high-definition/Editor/Material/Eye/ShaderGraph/EyeSubTarget.Migration.cs @@ -24,6 +24,8 @@ public bool TryUpgradeFromMasterNode(IMasterNode1 masterNode, out Dictionary.data set => m_LightingData = value; } - protected override string renderQueue - { - get - { - var renderingPass = systemData.surfaceType == SurfaceType.Opaque ? HDRenderQueue.RenderQueueType.Opaque : HDRenderQueue.RenderQueueType.Transparent; - int queue = HDRenderQueue.ChangeType(renderingPass, systemData.sortPriority, systemData.alphaTest); - return HDRenderQueue.GetShaderTagValue(queue); - } - } - protected override string renderType => HDRenderTypeTags.HDLitShader.ToString(); public LightingData lightingData @@ -126,4 +116,4 @@ public override void CollectShaderProperties(PropertyCollector collector, Genera HDSubShaderUtilities.AddStencilShaderProperties(collector, systemData, lightingData); } } -} \ No newline at end of file +} diff --git a/com.unity.render-pipelines.high-definition/Editor/Material/StackLit/ShaderGraph/StackLitSubTarget.Migration.cs b/com.unity.render-pipelines.high-definition/Editor/Material/StackLit/ShaderGraph/StackLitSubTarget.Migration.cs index 062ba947ee3..60919f77fec 100644 --- a/com.unity.render-pipelines.high-definition/Editor/Material/StackLit/ShaderGraph/StackLitSubTarget.Migration.cs +++ b/com.unity.render-pipelines.high-definition/Editor/Material/StackLit/ShaderGraph/StackLitSubTarget.Migration.cs @@ -24,6 +24,8 @@ public bool TryUpgradeFromMasterNode(IMasterNode1 masterNode, out Dictionary() diff --git a/com.unity.render-pipelines.universal/Editor/ShaderGraph/Targets/UniversalTarget.cs b/com.unity.render-pipelines.universal/Editor/ShaderGraph/Targets/UniversalTarget.cs index 1f90c484cc4..cd6a7114466 100644 --- a/com.unity.render-pipelines.universal/Editor/ShaderGraph/Targets/UniversalTarget.cs +++ b/com.unity.render-pipelines.universal/Editor/ShaderGraph/Targets/UniversalTarget.cs @@ -72,9 +72,6 @@ sealed class UniversalTarget : Target, ILegacyTarget [SerializeField] bool m_AlphaClip = false; - [SerializeField] - bool m_AddPrecomputedVelocity = false; - [SerializeField] string m_CustomEditorGUI; @@ -140,12 +137,6 @@ public bool alphaClip set => m_AlphaClip = value; } - public bool addPrecomputedVelocity - { - get => m_AddPrecomputedVelocity; - set => m_AddPrecomputedVelocity = value; - } - public string customEditorGUI { get => m_CustomEditorGUI; @@ -183,7 +174,6 @@ public override void GetFields(ref TargetFieldContext context) context.blocks.Contains(BlockFields.VertexDescription.Tangent)); context.AddField(Fields.GraphPixel); context.AddField(Fields.AlphaClip, alphaClip); - context.AddField(Fields.VelocityPrecomputed, addPrecomputedVelocity); context.AddField(Fields.DoubleSided, twoSided); // SubTarget fields @@ -276,7 +266,6 @@ void UpgradeAlphaClip() m_AlphaMode = (AlphaMode)pbrMasterNode.m_AlphaMode; m_TwoSided = pbrMasterNode.m_TwoSided; UpgradeAlphaClip(); - m_AddPrecomputedVelocity = false; m_CustomEditorGUI = pbrMasterNode.m_OverrideEnabled ? pbrMasterNode.m_ShaderGUIOverride : ""; break; case UnlitMasterNode1 unlitMasterNode: @@ -284,7 +273,6 @@ void UpgradeAlphaClip() m_AlphaMode = (AlphaMode)unlitMasterNode.m_AlphaMode; m_TwoSided = unlitMasterNode.m_TwoSided; UpgradeAlphaClip(); - m_AddPrecomputedVelocity = false; m_CustomEditorGUI = unlitMasterNode.m_OverrideEnabled ? unlitMasterNode.m_ShaderGUIOverride : ""; break; case SpriteLitMasterNode1 spriteLitMasterNode: