Class CompositorConfig
- Namespace
- Map.Rendering.Compositing
- Assembly
- MapAssembly.dll
Configuration for shader compositing. Passed to shader via material properties.
[Serializable]
public class CompositorConfig
- Inheritance
-
objectCompositorConfig
Fields
baseColorOrder
[Header("Layer Order (lower = rendered first)")]
[Tooltip("Base color layer order (usually 0)")]
public int baseColorOrder
Field Value
- int
borderBlendMode
[Header("Blend Modes")]
[Tooltip("How borders blend with base color")]
public BlendMode borderBlendMode
Field Value
borderOrder
[Tooltip("Border layer order")]
public int borderOrder
Field Value
- int
enableBaseColor
[Header("Layer Visibility")]
[Tooltip("Enable base map mode coloring")]
public bool enableBaseColor
Field Value
- bool
enableBorders
[Tooltip("Enable border rendering")]
public bool enableBorders
Field Value
- bool
enableFogOfWar
[Tooltip("Enable fog of war")]
public bool enableFogOfWar
Field Value
- bool
enableHighlights
[Tooltip("Enable highlight rendering")]
public bool enableHighlights
Field Value
- bool
enableLighting
[Tooltip("Enable normal map lighting")]
public bool enableLighting
Field Value
- bool
enableOverlay
[Tooltip("Enable overlay texture")]
public bool enableOverlay
Field Value
- bool
fogBlendMode
[Tooltip("How fog of war blends with base color")]
public BlendMode fogBlendMode
Field Value
fogOrder
[Tooltip("Fog of war layer order")]
public int fogOrder
Field Value
- int
highlightBlendMode
[Tooltip("How highlights blend with base color")]
public BlendMode highlightBlendMode
Field Value
highlightOrder
[Tooltip("Highlight layer order")]
public int highlightOrder
Field Value
- int
lightingOrder
[Tooltip("Lighting layer order")]
public int lightingOrder
Field Value
- int
overlayBlendMode
[Tooltip("How overlay blends with base color")]
public BlendMode overlayBlendMode
Field Value
overlayOrder
[Tooltip("Overlay layer order")]
public int overlayOrder
Field Value
- int
Properties
Default
Create default configuration
public static CompositorConfig Default { get; }