mirror of
				https://github.com/DerTyp7/grow-ai-unity.git
				synced 2025-10-31 13:27:07 +01:00 
			
		
		
		
	started work on place obj
This commit is contained in:
		| @@ -4,10 +4,10 @@ Properties { | ||||
| 	_FaceTex			("Fill Texture", 2D) = "white" {} | ||||
| 	_FaceUVSpeedX		("Face UV Speed X", Range(-5, 5)) = 0.0 | ||||
| 	_FaceUVSpeedY		("Face UV Speed Y", Range(-5, 5)) = 0.0 | ||||
| 	[HDR]_FaceColor		("Fill Color", Color) = (1,1,1,1) | ||||
| 	_FaceColor			("Fill Color", Color) = (1,1,1,1) | ||||
| 	_FaceDilate			("Face Dilate", Range(-1,1)) = 0 | ||||
|  | ||||
| 	[HDR]_OutlineColor	("Outline Color", Color) = (0,0,0,1) | ||||
| 	_OutlineColor		("Outline Color", Color) = (0,0,0,1) | ||||
| 	_OutlineTex			("Outline Texture", 2D) = "white" {} | ||||
| 	_OutlineUVSpeedX	("Outline UV Speed X", Range(-5, 5)) = 0.0 | ||||
| 	_OutlineUVSpeedY	("Outline UV Speed Y", Range(-5, 5)) = 0.0 | ||||
| @@ -24,16 +24,16 @@ Properties { | ||||
| 	_BumpOutline		("Bump Outline", Range(0,1)) = 0.5 | ||||
| 	_BumpFace			("Bump Face", Range(0,1)) = 0.5 | ||||
|  | ||||
| 	_ReflectFaceColor	    ("Face Color", Color) = (0,0,0,1) | ||||
| 	_ReflectFaceColor		("Face Color", Color) = (0,0,0,1) | ||||
| 	_ReflectOutlineColor	("Outline Color", Color) = (0,0,0,1) | ||||
| 	_Cube 					("Reflection Cubemap", Cube) = "black" { /* TexGen CubeReflect */ } | ||||
| 	_EnvMatrixRotation  	("Texture Rotation", vector) = (0, 0, 0, 0) | ||||
| 	[HDR]_SpecColor		    ("Specular Color", Color) = (0,0,0,1) | ||||
| 	_EnvMatrixRotation		("Texture Rotation", vector) = (0, 0, 0, 0) | ||||
| 	_SpecColor				("Specular Color", Color) = (0,0,0,1) | ||||
|  | ||||
| 	_FaceShininess		("Face Shininess", Range(0,1)) = 0 | ||||
| 	_OutlineShininess	("Outline Shininess", Range(0,1)) = 0 | ||||
|  | ||||
| 	[HDR]_GlowColor		("Color", Color) = (0, 1, 0, 0.5) | ||||
| 	_GlowColor			("Color", Color) = (0, 1, 0, 0.5) | ||||
| 	_GlowOffset			("Offset", Range(-1,1)) = 0 | ||||
| 	_GlowInner			("Inner", Range(0,1)) = 0.05 | ||||
| 	_GlowOuter			("Outer", Range(0,1)) = 0.05 | ||||
| @@ -59,15 +59,13 @@ Properties { | ||||
|  | ||||
| 	_VertexOffsetX		("Vertex OffsetX", float) = 0 | ||||
| 	_VertexOffsetY		("Vertex OffsetY", float) = 0 | ||||
|  | ||||
| 	_CullMode			("Cull Mode", Float) = 0 | ||||
| 	//_MaskCoord		("Mask Coords", vector) = (0,0,0,0) | ||||
| 	//_MaskSoftness		("Mask Softness", float) = 0 | ||||
| } | ||||
|  | ||||
| SubShader { | ||||
|  | ||||
| 	Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" } | ||||
| 	Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" }	 | ||||
|  | ||||
| 	LOD 300 | ||||
| 	Cull [_CullMode] | ||||
| @@ -91,10 +89,10 @@ SubShader { | ||||
| 		float2	uv2_FaceTex; | ||||
| 		float2  uv2_OutlineTex; | ||||
| 		float2	param;						// Weight, Scale | ||||
| 		float3	viewDirEnv; | ||||
| 		float3	viewDirEnv;		 | ||||
| 	}; | ||||
|  | ||||
|  | ||||
| 	 | ||||
| 	#define BEVEL_ON 1 | ||||
| 	#include "TMPro_Surface.cginc" | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 j.mei7
					j.mei7