Class DefaultShaderCompositor
- Namespace
- Map.Rendering.Compositing
- Assembly
- MapAssembly.dll
ENGINE: Default shader compositor with standard layer compositing.
Compositing Order:
- Base Color (map mode) - always rendered
- Normal Map Lighting - lerp blend
- Borders - lerp blend
- Highlights - lerp blend
- Fog of War - lerp blend
- 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
-
objectDefaultShaderCompositor
- 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
mapMaterialMaterialcfgCompositorConfig
GetConfig()
Get the compositing configuration for this compositor. Used by shader to determine layer order and blend modes.
public override CompositorConfig GetConfig()