yum-archive/SoggyShaders
Old Unity shaders.
git clone https://git.yummers.dev/yum-archive/SoggyShaders
8427cb4
master
1Shader "yum_food/cloud" 2{ 3 Properties 4 { 5 _Ball_Height("Ball height", float) = 0.15 6 _Ball_Scale("Ball scale", float) = 1.0 7 _Cloud_Y_Off("cloud Y offset", float) = -.3 8 _Cloud_Opacity("cloud opacity", float) = 0.25 9 _Cloud_W("cloud FBM W=", float) = 0.35 10 _Cloud_Scale("cloud scale", float) = 2 11 _Sphere_Scale("Sphere scale", float) = 1 12 _Global_Scale("Global scale", float) = 1 13 _Orientation("Orientation (axis and angle in radians)", Vector) = (1, 0, 0, 0) 14 _Offset("Offset (meters)", Vector) = (0, 0, 0, 0) 15 16 [MaterialToggle] _Enable_Matcap("Enable matcap", float) = 1 17 _Matcap("Matcap", 2D) = "black" {} 18 _Matcap_Str("Matcap strength", float) = 1.0 19 _Matcap_Mode("Matcap mode: 1 add, 2 mul, 3 replace, 4 sub", Range(1,4)) = 1 20 21 [MaterialToggle] _Enable_Custom_Cubemap("Enable custom cubemap", float) = 0 22 _Custom_Cubemap("Custom cubemap", Cube) = "" {} 23 } 24 SubShader 25 { 26 Pass { 27 Tags { 28 "RenderType"="Opaque" 29 "Queue"="AlphaTest+499" 30 "LightMode" = "ForwardBase" 31 } 32 Blend SrcAlpha OneMinusSrcAlpha 33 Cull Back 34 ZTest LEqual 35 36 CGPROGRAM 37 #pragma target 5.0 38 39 #pragma multi_compile _ VERTEXLIGHT_ON 40 41 #pragma vertex vert 42 #pragma fragment frag 43 44 #define FORWARD_BASE_PASS 45 46 #include "cloud_lighting.cginc" 47 ENDCG 48 } 49 Pass { 50 Tags { 51 "RenderType" = "Opaque" 52 "LightMode" = "ForwardAdd" 53 "Queue"="AlphaTest+499" 54 } 55 Blend One One 56 Cull Back 57 ZTest LEqual 58 59 CGPROGRAM 60 #pragma target 5.0 61 62 #pragma multi_compile_fwdadd 63 64 #pragma vertex vert 65 #pragma fragment frag 66 67 #include "cloud_lighting.cginc" 68 ENDCG 69 } 70 } 71 //CustomEditor "TaSTTShaderGUI" 72}