using System;
using UnityEngine;

// Token: 0x020000FE RID: 254
[ExecuteInEditMode]
public class rendertype : MonoBehaviour
{
	// Token: 0x060015B8 RID: 5560 RVA: 0x0019BBB7 File Offset: 0x00199DB7
	private void Start()
	{
	}

	// Token: 0x060015B9 RID: 5561 RVA: 0x0019BBBC File Offset: 0x00199DBC
	private void LateUpdate()
	{
		Terrain component = base.gameObject.GetComponent<Terrain>();
		if (component && component.materialTemplate && component.materialTemplate.shader.name.Contains("Tessel"))
		{
			component.materialTemplate.SetOverrideTag("RenderType", "OpaqueTesselTerrain");
		}
	}
}
