|
|
|
|
|
|
public static readonly string SoftShadowsText = "_SHADOWS_SOFT"; |
|
|
|
public static readonly string CascadeShadowsText = "_SHADOWS_CASCADE"; |
|
|
|
|
|
|
|
#if UNITY_2018_2_OR_NEWER
|
|
|
|
public static readonly ShaderKeyword AdditionalLights = new ShaderKeyword(AdditionalLightsText); |
|
|
|
public static readonly ShaderKeyword VertexLights = new ShaderKeyword(VertexLightsText); |
|
|
|
public static readonly ShaderKeyword MixedLightingSubtractive = new ShaderKeyword(MixedLightingSubtractiveText); |
|
|
|
|
|
|
|
|
|
|
public static readonly ShaderKeyword Lightmap = new ShaderKeyword("LIGHTMAP_ON"); |
|
|
|
public static readonly ShaderKeyword DirectionalLightmap = new ShaderKeyword("DIRLIGHTMAP_COMBINED"); |
|
|
|
#endif
|
|
|
|
} |
|
|
|
|
|
|
|
public partial class LightweightPipeline |
|
|
|