using System;
using UnityEngine;

// Token: 0x02000004 RID: 4
[ExecuteInEditMode]
public class ClayShaderVariables : MonoBehaviour
{
	// Token: 0x0600003B RID: 59 RVA: 0x000067E2 File Offset: 0x000049E2
	private void Start()
	{
	}

	// Token: 0x0600003C RID: 60 RVA: 0x000067E4 File Offset: 0x000049E4
	private void Update()
	{
		Shader.SetGlobalFloat("_xEnviro_tcp2RampThreshold", this.enviroRampThreshold);
		Shader.SetGlobalFloat("_xEnviro_tcp2RampSmoothness", this.enviroRampSmoothness);
		Shader.SetGlobalVector("_xEnviro_tcp2HighlightColor", this.enviroHighlightColor);
		Shader.SetGlobalVector("_xEnviro_tcp2ShadowColor", this.enviroShadowColor);
		Shader.SetGlobalVector("_xEnviro_rimParams", new Vector3(this.enviroRimMin, this.enviroRimMax, this.enviroRimStrength));
		Shader.SetGlobalVector("_xEnviro_rimColor", this.enviroRimColor);
		Shader.SetGlobalVector("_xEnviro_tcp2DirShadowColor", this.enviroDirectionalShadow);
		Shader.SetGlobalFloat("_xCharacter_tcp2RampThreshold", this.characterRampThreshold);
		Shader.SetGlobalFloat("_xCharacter_tcp2RampSmoothness", this.characterRampSmoothness);
		Shader.SetGlobalVector("_xCharacter_tcp2HighlightColor", this.characterHighlightColor);
		Shader.SetGlobalVector("_xCharactertcp2ShadowColor", this.characterShadowColor);
		Shader.SetGlobalVector("_xCharacter_rimParams", new Vector3(this.characterRimMin, this.characterRimMax, this.characterRimStrength));
		Shader.SetGlobalVector("_xCharacter_rimColor", this.characterRimColor);
		Shader.SetGlobalVector("_xCharactertcp2DirShadowColor", this.characterDirectionalShadow);
	}

	// Token: 0x04000114 RID: 276
	[Header("CHARACTER LIGHTING")]
	public float characterRampThreshold = 0.5f;

	// Token: 0x04000115 RID: 277
	public float characterRampSmoothness = 0.1f;

	// Token: 0x04000116 RID: 278
	public float characterRimMin = 0.8f;

	// Token: 0x04000117 RID: 279
	public float characterRimMax = 0.85f;

	// Token: 0x04000118 RID: 280
	public float characterRimStrength = 0.5f;

	// Token: 0x04000119 RID: 281
	public Color characterRimColor = Color.white;

	// Token: 0x0400011A RID: 282
	public Color characterHighlightColor = Color.white;

	// Token: 0x0400011B RID: 283
	public Color characterShadowColor = Color.gray;

	// Token: 0x0400011C RID: 284
	public Color characterDirectionalShadow = Color.black;

	// Token: 0x0400011D RID: 285
	[Header("ENVIRONMENT LIGHTING")]
	public float enviroRampThreshold = 0.5f;

	// Token: 0x0400011E RID: 286
	public float enviroRampSmoothness = 0.1f;

	// Token: 0x0400011F RID: 287
	public float enviroRimMin = 0.8f;

	// Token: 0x04000120 RID: 288
	public float enviroRimMax = 0.85f;

	// Token: 0x04000121 RID: 289
	public float enviroRimStrength = 0.5f;

	// Token: 0x04000122 RID: 290
	public Color enviroRimColor = Color.white;

	// Token: 0x04000123 RID: 291
	public Color enviroHighlightColor = Color.white;

	// Token: 0x04000124 RID: 292
	public Color enviroShadowColor = Color.gray;

	// Token: 0x04000125 RID: 293
	public Color enviroDirectionalShadow = Color.black;
}
