From 22891bf59032ba88262824255a706d652031384b Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 10 Mar 2022 14:07:40 +0800 Subject: * move folder --- .../UMotion/UMotionEditor/Shaders/CameraLit.shader | 73 ---------------------- .../UMotionEditor/Shaders/CameraLit.shader.meta | 9 --- .../UMotionEditor/Shaders/ColorUnlit.shader | 41 ------------ .../UMotionEditor/Shaders/ColorUnlit.shader.meta | 9 --- .../Shaders/ColorUnlitTransparent.shader | 43 ------------- .../Shaders/ColorUnlitTransparent.shader.meta | 9 --- .../UMotionEditor/Shaders/UnlitDashedLine.shader | 70 --------------------- .../Shaders/UnlitDashedLine.shader.meta | 9 --- .../UMotion/UMotionEditor/Shaders/UnlitLine.shader | 63 ------------------- .../UMotionEditor/Shaders/UnlitLine.shader.meta | 9 --- .../UMotionEditor/Shaders/VertexColorUnlit.shader | 32 ---------- .../Shaders/VertexColorUnlit.shader.meta | 9 --- .../UMotion/UMotionEditor/Shaders/WiresOnly.shader | 65 ------------------- .../UMotionEditor/Shaders/WiresOnly.shader.meta | 9 --- 14 files changed, 450 deletions(-) delete mode 100644 Assets/ThirdParty/UMotion/UMotionEditor/Shaders/CameraLit.shader delete mode 100644 Assets/ThirdParty/UMotion/UMotionEditor/Shaders/CameraLit.shader.meta delete mode 100644 Assets/ThirdParty/UMotion/UMotionEditor/Shaders/ColorUnlit.shader delete mode 100644 Assets/ThirdParty/UMotion/UMotionEditor/Shaders/ColorUnlit.shader.meta delete mode 100644 Assets/ThirdParty/UMotion/UMotionEditor/Shaders/ColorUnlitTransparent.shader delete mode 100644 Assets/ThirdParty/UMotion/UMotionEditor/Shaders/ColorUnlitTransparent.shader.meta delete mode 100644 Assets/ThirdParty/UMotion/UMotionEditor/Shaders/UnlitDashedLine.shader delete mode 100644 Assets/ThirdParty/UMotion/UMotionEditor/Shaders/UnlitDashedLine.shader.meta delete mode 100644 Assets/ThirdParty/UMotion/UMotionEditor/Shaders/UnlitLine.shader delete mode 100644 Assets/ThirdParty/UMotion/UMotionEditor/Shaders/UnlitLine.shader.meta delete mode 100644 Assets/ThirdParty/UMotion/UMotionEditor/Shaders/VertexColorUnlit.shader delete mode 100644 Assets/ThirdParty/UMotion/UMotionEditor/Shaders/VertexColorUnlit.shader.meta delete mode 100644 Assets/ThirdParty/UMotion/UMotionEditor/Shaders/WiresOnly.shader delete mode 100644 Assets/ThirdParty/UMotion/UMotionEditor/Shaders/WiresOnly.shader.meta (limited to 'Assets/ThirdParty/UMotion/UMotionEditor/Shaders') diff --git a/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/CameraLit.shader b/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/CameraLit.shader deleted file mode 100644 index f9dd2196..00000000 --- a/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/CameraLit.shader +++ /dev/null @@ -1,73 +0,0 @@ -Shader "UMotion Editor/Camera Lit" -{ - Properties - { - _Color("Main Color (RGB)", color) = (1, 1, 1, 1) - _WireColor("Wire Color (RGB) Trans (A)", color) = (0, 0, 0, 1) - _WireSize("Wire Size", Range(0, 4)) = 0.9 - } - - SubShader - { - Tags { "RenderType" = "Opaque" "IgnoreProjector"="True" } - LOD 100 - - Pass - { - CGPROGRAM - #pragma vertex vert - #pragma fragment frag - #pragma target 3.0 - - #include "UnityCG.cginc" - - fixed4 _Color; - fixed4 _WireColor; - half _WireSize; - - struct vInput - { - float4 vertex : POSITION; - half4 texcoord : TEXCOORD0; - float3 normal : NORMAL; - }; - - struct vOutput - { - float4 pos : SV_POSITION; - fixed3 wirecoord : TEXCOORD1; - float3 lambert : TEXCOORD2; - }; - - vOutput vert(vInput i) - { - vOutput o; - - o.pos = UnityObjectToClipPos(i.vertex); - - o.wirecoord = fixed3(floor(i.texcoord.x), frac(i.texcoord.x) * 10, i.texcoord.y); - - float3 viewDir = normalize(WorldSpaceViewDir(i.vertex)); - float3 worldNormal = normalize(UnityObjectToWorldNormal(i.normal)); - o.lambert = saturate(dot(viewDir, worldNormal)); - - return o; - } - - fixed4 frag(vOutput i) : SV_Target - { - fixed4 outColor; - outColor.rgb = i.lambert * _Color; - outColor.a = 1.0; - - half3 width = abs(ddx(i.wirecoord.xyz)) + abs(ddy(i.wirecoord.xyz)); - half3 smoothed = smoothstep(half3(0, 0, 0), width * _WireSize, i.wirecoord.xyz); - half wireAlpha = min(min(smoothed.x, smoothed.y), smoothed.z); - - return lerp(lerp(outColor, _WireColor, _WireColor.a), outColor, wireAlpha); - } - - ENDCG - } //Pass - } //SubShader -} //Shader diff --git a/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/CameraLit.shader.meta b/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/CameraLit.shader.meta deleted file mode 100644 index 5b976339..00000000 --- a/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/CameraLit.shader.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 48874f7fa809410459fad9f55010f4bb -timeCreated: 1473450613 -licenseType: Store -ShaderImporter: - defaultTextures: [] - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/ColorUnlit.shader b/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/ColorUnlit.shader deleted file mode 100644 index 50815eef..00000000 --- a/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/ColorUnlit.shader +++ /dev/null @@ -1,41 +0,0 @@ -Shader "UMotion Editor/Color Unlit" -{ - Properties - { - // Color property for material inspector, default to white - _Color ("Main Color", Color) = (1,1,1,1) - } - SubShader - { - Tags { "RenderType"="Opaque" "IgnoreProjector"="True" } - LOD 100 - - Pass - { - CGPROGRAM - #pragma vertex vert - #pragma fragment frag - - #include "UnityCG.cginc" - - // vertex shader - // this time instead of using "appdata" struct, just spell inputs manually, - // and instead of returning v2f struct, also just return a single output - // float4 clip position - float4 vert (float4 vertex : POSITION) : SV_POSITION - { - return UnityObjectToClipPos(vertex); - } - - // color from the material - fixed4 _Color; - - // pixel shader, no inputs needed - fixed4 frag () : SV_Target - { - return _Color; // just return it - } - ENDCG - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/ColorUnlit.shader.meta b/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/ColorUnlit.shader.meta deleted file mode 100644 index 31d413b3..00000000 --- a/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/ColorUnlit.shader.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 1d54d617e69b06a4085e3437d19a8ec1 -timeCreated: 1473578258 -licenseType: Store -ShaderImporter: - defaultTextures: [] - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/ColorUnlitTransparent.shader b/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/ColorUnlitTransparent.shader deleted file mode 100644 index de069c03..00000000 --- a/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/ColorUnlitTransparent.shader +++ /dev/null @@ -1,43 +0,0 @@ -Shader "UMotion Editor/Color Unlit Transparent" -{ - Properties - { - // Color property for material inspector, default to white - _Color ("Main Color", Color) = (1,1,1,1) - } - SubShader - { - Tags { "RenderType"="Transparent" "IgnoreProjector"="True" } - LOD 100 - ZWrite Off - Blend SrcAlpha OneMinusSrcAlpha - - Pass - { - CGPROGRAM - #pragma vertex vert - #pragma fragment frag - - #include "UnityCG.cginc" - - // vertex shader - // this time instead of using "appdata" struct, just spell inputs manually, - // and instead of returning v2f struct, also just return a single output - // float4 clip position - float4 vert (float4 vertex : POSITION) : SV_POSITION - { - return UnityObjectToClipPos(vertex); - } - - // color from the material - fixed4 _Color; - - // pixel shader, no inputs needed - fixed4 frag () : SV_Target - { - return _Color; // just return it - } - ENDCG - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/ColorUnlitTransparent.shader.meta b/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/ColorUnlitTransparent.shader.meta deleted file mode 100644 index 9916f066..00000000 --- a/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/ColorUnlitTransparent.shader.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: ffd3c4e17a9e1d54ba9f7ca169a4b98f -timeCreated: 1503310892 -licenseType: Store -ShaderImporter: - defaultTextures: [] - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/UnlitDashedLine.shader b/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/UnlitDashedLine.shader deleted file mode 100644 index 37798944..00000000 --- a/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/UnlitDashedLine.shader +++ /dev/null @@ -1,70 +0,0 @@ -Shader "UMotion Editor/Unlit Dashed Line" -{ - Properties - { - _Color("Line Color (RGB) Trans (A)", color) = (0, 0, 0, 1) - _Thickness("Line Thikness", Range(0, 4)) = 0.9 - _DashFrequency("Dash Frequency", Range(0, 150)) = 100 - } - - SubShader - { - Tags {"Queue"="Transparent" "RenderType"="Transparent" "IgnoreProjector"="True" "DisableBatching"="True" } - LOD 100 - - ZWrite Off - Blend SrcAlpha OneMinusSrcAlpha - Cull Off - - Pass - { - CGPROGRAM - #pragma vertex vert - #pragma fragment frag - #pragma target 3.0 - - #include "UnityCG.cginc" - - fixed4 _Color; - half _Thickness; - half _DashFrequency; - - struct vInput - { - float4 vertex : POSITION; - half4 texcoord : TEXCOORD0; - }; - - struct vOutput - { - float4 pos : SV_POSITION; - float2 uv : TEXCOORD0; - }; - - vOutput vert(vInput i) - { - vOutput o; - - o.pos = UnityObjectToClipPos(i.vertex); - - o.uv = i.texcoord.xy; - o.uv.x *= length(float3(unity_ObjectToWorld[0].z, unity_ObjectToWorld[1].z, unity_ObjectToWorld[2].z)); - - return o; - } - - fixed4 frag(vOutput i) : SV_Target - { - half2 mass = half2(sin(i.uv.x * _DashFrequency), i.uv.y); - - half2 width = abs(ddx(mass)) + abs(ddy(mass)); - half2 smoothed = smoothstep(half2(0, 0), width * _Thickness, mass.xy); - half alpha = max(smoothed.x, smoothed.y); - - return fixed4(_Color.x, _Color.y, _Color.z, 1 - alpha); - } - - ENDCG - } //Pass - } //SubShader -} //Shader diff --git a/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/UnlitDashedLine.shader.meta b/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/UnlitDashedLine.shader.meta deleted file mode 100644 index 7cad2d08..00000000 --- a/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/UnlitDashedLine.shader.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: d57a3d80d6b9c334692747b789c7d8d7 -timeCreated: 1436426827 -licenseType: Store -ShaderImporter: - defaultTextures: [] - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/UnlitLine.shader b/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/UnlitLine.shader deleted file mode 100644 index 29e1927d..00000000 --- a/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/UnlitLine.shader +++ /dev/null @@ -1,63 +0,0 @@ -Shader "UMotion Editor/Unlit Line" -{ - Properties - { - _Color("Line Color (RGB) Trans (A)", color) = (0, 0, 0, 1) - _Thickness("Line Thikness", Range(0, 4)) = 0.9 - } - - SubShader - { - Tags {"Queue"="Transparent" "RenderType"="Transparent" "IgnoreProjector"="True" } - LOD 100 - - ZWrite Off - Blend SrcAlpha OneMinusSrcAlpha - Cull Off - - Pass - { - CGPROGRAM - #pragma vertex vert - #pragma fragment frag - #pragma target 3.0 - - #include "UnityCG.cginc" - - fixed4 _Color; - half _Thickness; - - struct vInput - { - float4 vertex : POSITION; - half4 texcoord : TEXCOORD0; - }; - - struct vOutput - { - float4 pos : SV_POSITION; - float uv_y : TEXCOORD0; - }; - - vOutput vert(vInput i) - { - vOutput o; - - o.pos = UnityObjectToClipPos(i.vertex); - o.uv_y = i.texcoord.y; - - return o; - } - - fixed4 frag(vOutput i) : SV_Target - { - half width = abs(ddx(i.uv_y)) + abs(ddy(i.uv_y)); - half alpha = smoothstep(0, width * _Thickness, i.uv_y); - - return fixed4(_Color.x, _Color.y, _Color.z, 1 - alpha); - } - - ENDCG - } //Pass - } //SubShader -} //Shader diff --git a/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/UnlitLine.shader.meta b/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/UnlitLine.shader.meta deleted file mode 100644 index 6e3b8a0c..00000000 --- a/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/UnlitLine.shader.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: b514aec5044c41141ac3b62eca518b25 -timeCreated: 1436426827 -licenseType: Store -ShaderImporter: - defaultTextures: [] - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/VertexColorUnlit.shader b/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/VertexColorUnlit.shader deleted file mode 100644 index f4535f98..00000000 --- a/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/VertexColorUnlit.shader +++ /dev/null @@ -1,32 +0,0 @@ -// Source: http://wiki.unity3d.com/index.php/VertexColorUnlit -Shader "UMotion Editor/Vertex Color Unlit" -{ - Properties - { - _MainTex ("Texture", 2D) = "white" {} - } - - Category - { - Tags { "RenderType"="Opaque" "IgnoreProjector"="True" } - Lighting Off - - BindChannels - { - Bind "Color", color - Bind "Vertex", vertex - Bind "TexCoord", texcoord - } - - SubShader - { - Pass - { - SetTexture [_MainTex] - { - Combine texture * primary DOUBLE - } - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/VertexColorUnlit.shader.meta b/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/VertexColorUnlit.shader.meta deleted file mode 100644 index 71e0854c..00000000 --- a/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/VertexColorUnlit.shader.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 7bb4c2b089bb2f841bb905642a28daad -timeCreated: 1473539026 -licenseType: Store -ShaderImporter: - defaultTextures: [] - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/WiresOnly.shader b/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/WiresOnly.shader deleted file mode 100644 index 2a9c6879..00000000 --- a/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/WiresOnly.shader +++ /dev/null @@ -1,65 +0,0 @@ -Shader "UMotion Editor/Wires Only" -{ - Properties - { - _Color("Main Color (RGB)", color) = (1, 1, 1, 1) - _Size("Wire Size", Range(0, 4)) = 0.9 - } - - SubShader - { - Tags {"Queue"="Transparent" "RenderType"="Transparent" "IgnoreProjector"="True" } - LOD 100 - - ZWrite Off - Blend SrcAlpha OneMinusSrcAlpha - Cull Off - - Pass - { - CGPROGRAM - #pragma vertex vert - #pragma fragment frag - #pragma target 3.0 - - #include "UnityCG.cginc" - - fixed4 _Color; - half _Size; - - struct vInput - { - float4 vertex : POSITION; - half4 texcoord : TEXCOORD0; - }; - - struct vOutput - { - float4 pos : SV_POSITION; - fixed3 wirecoord : TEXCOORD1; - }; - - vOutput vert(vInput i) - { - vOutput o; - - o.pos = UnityObjectToClipPos(i.vertex); - - o.wirecoord = fixed3(floor(i.texcoord.x), frac(i.texcoord.x) * 10, i.texcoord.y); - - return o; - } - - fixed4 frag(vOutput i) : SV_Target - { - half3 width = abs(ddx(i.wirecoord.xyz)) + abs(ddy(i.wirecoord.xyz)); - half3 smoothed = smoothstep(half3(0, 0, 0), width * _Size, i.wirecoord.xyz); - half wireAlpha = min(min(smoothed.x, smoothed.y), smoothed.z); - - return fixed4(_Color.xyz, 1 - wireAlpha); - } - - ENDCG - } //Pass - } //SubShader -} //Shader diff --git a/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/WiresOnly.shader.meta b/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/WiresOnly.shader.meta deleted file mode 100644 index 403ce1a1..00000000 --- a/Assets/ThirdParty/UMotion/UMotionEditor/Shaders/WiresOnly.shader.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: a326767bf949111429490e01d3a59d11 -timeCreated: 1521051594 -licenseType: Store -ShaderImporter: - defaultTextures: [] - userData: - assetBundleName: - assetBundleVariant: -- cgit v1.1-26-g67d0