summaryrefslogtreecommitdiff
path: root/Assets/AmplifyShaderEditor/Plugins/EditorResources/Previews/Preview_ObjSpaceLightDirHlpNode.shader
diff options
context:
space:
mode:
Diffstat (limited to 'Assets/AmplifyShaderEditor/Plugins/EditorResources/Previews/Preview_ObjSpaceLightDirHlpNode.shader')
-rw-r--r--Assets/AmplifyShaderEditor/Plugins/EditorResources/Previews/Preview_ObjSpaceLightDirHlpNode.shader22
1 files changed, 0 insertions, 22 deletions
diff --git a/Assets/AmplifyShaderEditor/Plugins/EditorResources/Previews/Preview_ObjSpaceLightDirHlpNode.shader b/Assets/AmplifyShaderEditor/Plugins/EditorResources/Previews/Preview_ObjSpaceLightDirHlpNode.shader
deleted file mode 100644
index 4aa3e889..00000000
--- a/Assets/AmplifyShaderEditor/Plugins/EditorResources/Previews/Preview_ObjSpaceLightDirHlpNode.shader
+++ /dev/null
@@ -1,22 +0,0 @@
-Shader "Hidden/ObjSpaceLightDirHlpNode"
-{
- SubShader
- {
- Pass
- {
- CGPROGRAM
- #pragma vertex vert_img
- #pragma fragment frag
- #include "UnityCG.cginc"
-
- float4 _EditorWorldLightPos;
-
- float4 frag( v2f_img i ) : SV_Target
- {
- float3 lightDir = mul(unity_WorldToObject, normalize( _EditorWorldLightPos.xyz ) );
- return float4 ( lightDir, 1);
- }
- ENDCG
- }
- }
-}