Show / Hide Table of Contents

Class GameMaterials.EntityShaders

Container for entity shaders. Access via GameMaterials.Shaders.Entities.

Inheritance
Object
GameMaterials.EntityShaders
Namespace: Modding
Assembly: Assembly-CSharp.dll
Syntax
public class EntityShaders

Constructors

EntityShaders()

Declaration
public EntityShaders()

Properties

AlphaBlended

Used for some of the virtual objects. Example materials: BuildZone, Trigger.

Declaration
public Shader AlphaBlended { get; }
Property Value
Type Description
UnityEngine.Shader

BlockShader

Same as Shaders.Blocks.Main. This is also used for some entities. Example materials: Barrel, DangerSign.

Declaration
public Shader BlockShader { get; }
Property Value
Type Description
UnityEngine.Shader

Diffuse

Simple diffuse shader used mainly for the primitive level objects. Example material: Cube (Cylinder, Sphere, etc use the same material.)

Declaration
public Shader Diffuse { get; }
Property Value
Type Description
UnityEngine.Shader

Foliage

Shader used for foliage objects, like bushes and trees. Example materials: Bush, IvyLeaves.

Declaration
public Shader Foliage { get; }
Property Value
Type Description
UnityEngine.Shader

PBS

Custom PBS shader used for some level objects. Example materials: Cottage, Windmill.

Declaration
public Shader PBS { get; }
Property Value
Type Description
UnityEngine.Shader

VertexLit

Used for the static cloud. Example material: StaticCloud.

Declaration
public Shader VertexLit { get; }
Property Value
Type Description
UnityEngine.Shader
Back to top Generated by DocFX