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:
		| @@ -3,7 +3,7 @@ Shader "TextMeshPro/Bitmap" { | ||||
| Properties { | ||||
| 	_MainTex		("Font Atlas", 2D) = "white" {} | ||||
| 	_FaceTex		("Font Texture", 2D) = "white" {} | ||||
| 	[HDR]_FaceColor	("Text Color", Color) = (1,1,1,1) | ||||
| 	_FaceColor		("Text Color", Color) = (1,1,1,1) | ||||
|  | ||||
| 	_VertexOffsetX	("Vertex OffsetX", float) = 0 | ||||
| 	_VertexOffsetY	("Vertex OffsetY", float) = 0 | ||||
| @@ -18,14 +18,13 @@ Properties { | ||||
| 	_StencilWriteMask("Stencil Write Mask", Float) = 255 | ||||
| 	_StencilReadMask("Stencil Read Mask", Float) = 255 | ||||
|  | ||||
| 	_CullMode("Cull Mode", Float) = 0 | ||||
| 	_ColorMask("Color Mask", Float) = 15 | ||||
| } | ||||
|  | ||||
| SubShader{ | ||||
|  | ||||
| 	Tags { "Queue" = "Transparent" "IgnoreProjector" = "True" "RenderType" = "Transparent" } | ||||
|  | ||||
| 	 | ||||
| 	Stencil | ||||
| 	{ | ||||
| 		Ref[_Stencil] | ||||
| @@ -34,8 +33,8 @@ SubShader{ | ||||
| 		ReadMask[_StencilReadMask] | ||||
| 		WriteMask[_StencilWriteMask] | ||||
| 	} | ||||
|  | ||||
|  | ||||
| 	 | ||||
| 	 | ||||
| 	Lighting Off | ||||
| 	Cull [_CullMode] | ||||
| 	ZTest [unity_GUIZTestMode] | ||||
| @@ -114,7 +113,7 @@ SubShader{ | ||||
| 			// Clamp _ClipRect to 16bit. | ||||
| 			float4 clampedRect = clamp(_ClipRect, -2e10, 2e10); | ||||
| 			OUT.mask = float4(vert.xy * 2 - clampedRect.xy - clampedRect.zw, 0.25 / (0.25 * half2(_MaskSoftnessX, _MaskSoftnessY) + pixelSize.xy)); | ||||
|  | ||||
| 			 | ||||
| 			return OUT; | ||||
| 		} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 j.mei7
					j.mei7