From 22891bf59032ba88262824255a706d652031384b Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 10 Mar 2022 14:07:40 +0800 Subject: * move folder --- .../Editor/Nodes/HelperFuncs/LuminanceHlpNode.cs | 26 ---------------------- 1 file changed, 26 deletions(-) delete mode 100644 Assets/ThirdParty/AmplifyShaderEditor/Plugins/Editor/Nodes/HelperFuncs/LuminanceHlpNode.cs (limited to 'Assets/ThirdParty/AmplifyShaderEditor/Plugins/Editor/Nodes/HelperFuncs/LuminanceHlpNode.cs') diff --git a/Assets/ThirdParty/AmplifyShaderEditor/Plugins/Editor/Nodes/HelperFuncs/LuminanceHlpNode.cs b/Assets/ThirdParty/AmplifyShaderEditor/Plugins/Editor/Nodes/HelperFuncs/LuminanceHlpNode.cs deleted file mode 100644 index 6f9dd6c6..00000000 --- a/Assets/ThirdParty/AmplifyShaderEditor/Plugins/Editor/Nodes/HelperFuncs/LuminanceHlpNode.cs +++ /dev/null @@ -1,26 +0,0 @@ -// Amplify Shader Editor - Visual Shader Editing Tool -// Copyright (c) Amplify Creations, Lda - -using System; -namespace AmplifyShaderEditor -{ - [Serializable] - [NodeAttributes( "Luminance", "Image Effects", "Converts color to luminance (grayscale)", Deprecated = true, DeprecatedAlternativeType = typeof( TFHCGrayscale ), DeprecatedAlternative = "Grayscale" )] - public sealed class LuminanceHlpNode : HelperParentNode - { - protected override void CommonInit( int uniqueId ) - { - base.CommonInit( uniqueId ); - m_funcType = "Luminance"; - m_inputPorts[ 0 ].ChangeType( WirePortDataType.FLOAT3, false ); - m_inputPorts[ 0 ].Name = "RGB"; - m_outputPorts[ 0 ].ChangeType( WirePortDataType.FLOAT, false ); - } - - protected override void OnUniqueIDAssigned() - { - base.OnUniqueIDAssigned(); - m_localVarName = "luminance" + OutputId; - } - } -} -- cgit v1.1-26-g67d0