mirror of
				https://github.com/DerTyp7/grow-ai-unity.git
				synced 2025-10-31 05:17:08 +01:00 
			
		
		
		
	started work on place obj
This commit is contained in:
		| @@ -2,7 +2,7 @@ Shader "TextMeshPro/Mobile/Bitmap" { | ||||
|  | ||||
| Properties { | ||||
| 	_MainTex		("Font Atlas", 2D) = "white" {} | ||||
| 	[HDR]_Color		("Text Color", Color) = (1,1,1,1) | ||||
| 	_Color			("Text Color", Color) = (1,1,1,1) | ||||
| 	_DiffusePower	("Diffuse Power", Range(1.0,4.0)) = 1.0 | ||||
|  | ||||
| 	_VertexOffsetX("Vertex OffsetX", float) = 0 | ||||
| @@ -18,7 +18,6 @@ Properties { | ||||
| 	_StencilWriteMask("Stencil Write Mask", Float) = 255 | ||||
| 	_StencilReadMask("Stencil Read Mask", Float) = 255 | ||||
|  | ||||
| 	_CullMode("Cull Mode", Float) = 0 | ||||
| 	_ColorMask("Color Mask", Float) = 15 | ||||
| } | ||||
|  | ||||
| @@ -37,7 +36,7 @@ SubShader { | ||||
|  | ||||
|  | ||||
| 	Lighting Off | ||||
| 	Cull [_CullMode] | ||||
| 	Cull Off | ||||
| 	ZTest [unity_GUIZTestMode] | ||||
| 	ZWrite Off | ||||
| 	Fog { Mode Off } | ||||
| @@ -114,11 +113,11 @@ SubShader { | ||||
| 				half2 m = saturate((_ClipRect.zw - _ClipRect.xy - abs(IN.mask.xy)) * IN.mask.zw); | ||||
| 				color *= m.x * m.y; | ||||
| 			#endif | ||||
|  | ||||
| 			 | ||||
| 			#if UNITY_UI_ALPHACLIP | ||||
| 				clip(color.a - 0.001); | ||||
| 			#endif | ||||
|  | ||||
| 			 | ||||
| 			return color; | ||||
| 		} | ||||
| 		ENDCG | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 j.mei7
					j.mei7