summaryrefslogtreecommitdiff
path: root/Assets/ThirdParty/AmplifyShaderEditor/Plugins/EditorResources/Previews/TextureArrayInspector.shader
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2022-03-10 14:07:40 +0800
committerchai <chaifix@163.com>2022-03-10 14:07:40 +0800
commit22891bf59032ba88262824255a706d652031384b (patch)
tree7595439ba9966c9402d37e37cee5e8cf098757d5 /Assets/ThirdParty/AmplifyShaderEditor/Plugins/EditorResources/Previews/TextureArrayInspector.shader
parent8b04ea73e540067f83870b61d89db4868fea5e8a (diff)
* move folder
Diffstat (limited to 'Assets/ThirdParty/AmplifyShaderEditor/Plugins/EditorResources/Previews/TextureArrayInspector.shader')
-rw-r--r--Assets/ThirdParty/AmplifyShaderEditor/Plugins/EditorResources/Previews/TextureArrayInspector.shader30
1 files changed, 0 insertions, 30 deletions
diff --git a/Assets/ThirdParty/AmplifyShaderEditor/Plugins/EditorResources/Previews/TextureArrayInspector.shader b/Assets/ThirdParty/AmplifyShaderEditor/Plugins/EditorResources/Previews/TextureArrayInspector.shader
deleted file mode 100644
index 408050d1..00000000
--- a/Assets/ThirdParty/AmplifyShaderEditor/Plugins/EditorResources/Previews/TextureArrayInspector.shader
+++ /dev/null
@@ -1,30 +0,0 @@
-Shader "Hidden/TextureArrayEditor"
-{
- Properties
- {
- _MainTex ("_MainTex", 2DArray) = "white" {}
- _Index ("_Index", Int) = 0
- }
- SubShader
- {
- Pass
- {
- CGPROGRAM
- #pragma vertex vert_img
- #pragma fragment frag
- #pragma target 3.5
- #include "UnityCG.cginc"
- #include "UnityStandardUtils.cginc"
-
- uniform UNITY_DECLARE_TEX2DARRAY( _MainTex );
- int _Index;
-
- float4 frag( v2f_img i ) : SV_Target
- {
- //return UNITY_SAMPLE_TEX2DARRAY_LOD( _MainTex, float3( i.uv, _Index), 0 );
- return UNITY_SAMPLE_TEX2DARRAY( _MainTex, float3( i.uv, _Index) );
- }
- ENDCG
- }
- }
-}