Table of Contents

Class DefaultShaderCompositor

Namespace
Map.Rendering.Compositing
Assembly
MapAssembly.dll

ENGINE: Default shader compositor with standard layer compositing.

Compositing Order:

  1. Base Color (map mode) - always rendered
  2. Normal Map Lighting - lerp blend
  3. Borders - lerp blend
  4. Highlights - lerp blend
  5. Fog of War - lerp blend
  6. Overlay Texture - multiply blend

All layers enabled, standard blend modes. This is the ENGINE default - GAME can register alternatives.

public class DefaultShaderCompositor : ShaderCompositorBase, IShaderCompositor
Inheritance
object
DefaultShaderCompositor
Implements
Inherited Members

Constructors

DefaultShaderCompositor()

public DefaultShaderCompositor()

Properties

CompositorId

Unique identifier for this compositor (e.g., "Default", "Stylized", "Minimal")

public override string CompositorId { get; }

Property Value

string

DisplayName

Human-readable name for UI/debugging

public override string DisplayName { get; }

Property Value

string

Methods

ConfigureCompositor(Material, CompositorConfig)

Subclass material configuration hook.

protected override void ConfigureCompositor(Material mapMaterial, CompositorConfig cfg)

Parameters

mapMaterial Material
cfg CompositorConfig

GetConfig()

Get the compositing configuration for this compositor. Used by shader to determine layer order and blend modes.

public override CompositorConfig GetConfig()

Returns

CompositorConfig