summaryrefslogtreecommitdiff
path: root/Assets/AmplifyShaderEditor/Plugins/EditorResources/Previews/Preview_Vector3Node.shader
blob: 299f3adb80e5a184838e23b5bb304960330716ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Shader "Hidden/Vector3Node"
{
	Properties {
		_InputVector ("_InputVector", Vector) = (0,0,0,0)
	}
	SubShader
	{
		Pass
		{
			CGPROGRAM
			#include "UnityCG.cginc"
			#pragma vertex vert_img
			#pragma fragment frag

			float4 _InputVector;

			float4 frag( v2f_img i ) : SV_Target
			{
				return float4(_InputVector.x,_InputVector.y,_InputVector.z,0);
			}
			ENDCG
		}
	}
}