RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

Server CommandsGE UtilitiesGame Engine MainNavigation GraphScreenshot CaptureServerServer ConnectionSpawnpoint ManagerSimulation TimeVehicle SpawningSuspension Frequency Tester
Editor AI TestsEditor AI VisualizationEditor – Assembly Spline ToolAsset BrowserAsset DeduplicatorAsset Management ToolSFX Previewer (Audio Events List)Audio Ribbon EditorAutoSaveBarriers EditorBiome ToolBuilding EditorBulk RenameCamera BookmarksCamera TransformCamera Path EditorCEF HelperCo-Simulation Signal EditorCrawl Data EditorCreate Object ToolDataBlock EditorDecal EditorDecal Spline EditorDocumentation HelperDrag Race EditorDrift Data EditorDrive Path EditorDynamic Decals Tool (Vehicle Livery Creator)Engine Audio DebugExtensions DebugExtensions EditorFFI Pointer Leak TestFile DialogFlowgraph EditorForest EditorForest ViewEditor Gizmo HelperEditor Ground Model Debug HelperEditor Headless Editor TestEditor Icon OverviewEditor ImGui C DemoEditor InspectorEditor Layout ManagerEditor Level SettingsEditor Level ValidatorEditor LoggerEditor Log HelperEditor MainEditor Main MenuEditor Main ToolbarEditor Main UpdateMap Sensor EditorMaster Spline EditorMaterial EditorMeasures Inspector HeaderMesh Editor (Base)Mesh Road EditorMesh Spline EditorMission EditorMission PlaybookMission Start Position EditorMulti Spawn Manager (Vehicle Groups)Navigation Mesh EditorEditor News MessageObject Tool (Object Select Edit Mode)Object To Spline EditorParticle EditorPerformance Profiler / Camera RecorderPhysics ReloaderPrefab Instance EditorEditor PreferencesRace / Path EditorRally EditorRaycast Test Editor ToolRenderer Components Editor ToolRender Test Editor ToolResource Checker Editor ToolRiver EditorRoad Architect EditorRoad DecorationsRoad Editor (Decal Road)Road Network ExporterRoad River Cache HandlerRoad River GUIRoad Spline EditorRoad Template EditorRoad UtilitiesScene TreeScene ViewScreenshot Creator BootstrapScript AI EditorScript AI ManagerSensor Configuration EditorSensor DebuggerShape EditorShortcut LegendSidewalk Spline EditorSites EditorSlot Traffic EditorSuspension Audio DebugTech Server ManagerTerraform ToolTerrain And Road ImporterTerrain EditorTerrain Materials EditorText EditorTool ManagerTool ShortcutsTraffic DebugTraffic ManagerTraffic Signals EditorUndo History ViewerVehicle Bridge TestVehicle Detail ViewerVehicle Editor MainEditor - VisualizationEditor Viz HelperEditor Water Object HelperEditor Windows Manager
Dynamic Decals - BrowserDynamic Decals - BrushesDynamic Decals - CameraDynamic Decals - Color HistoryDynamic Decals - Color PresetsDynamic Decals - Debug SectionDynamic Decals - Debug TexturesDynamic Decals - Documentation SystemDynamic Decals - ExportDynamic Decals - FontsDynamic Decals - GizmoDynamic Decals - HelperDynamic Decals HistoryDynamic Decals InspectorDynamic Decals Layer StackDynamic Decals Load/SaveDynamic Decals MeshesDynamic Decals NewsDynamic Decals NotificationDynamic Decals SelectionDynamic Decals SettingsDynamic Decals TexturesDynamic Decals Vehicle Color PaletteDynamic Decals Widgets
Dynamic Decals Layer Type: Brush StrokeDynamic Decals Layer Type: DecalDynamic Decals Layer Type: FillDynamic Decals Layer Type: GroupDynamic Decals Layer Type: Linked SetDynamic Decals Layer Type: PathDynamic Decals Layer Type: Texture Fill

UI

Resources

BeamNG Game Engine Lua Cheat SheetGE Developer RecipesMCP Server Setup

// RLS.STUDIOS=true

Premium Mods for BeamNG.drive. Career systems, custom vehicles, and immersive gameplay experiences.

Index

HomeProjectsPatreon

Socials

DiscordPatreon (RLS)Patreon (Vehicles)

© 2026 RLS Studios. All rights reserved.

Modding since 2024

API ReferenceGE ExtensionseditordynamicDecalslayerTypes

Dynamic Decals Layer Type: Decal

Editor module for the Decal layer type - the primary building block of the Dynamic Decals tool. Provides the "Decal Properties" section, inspector GUI, SDF introduction window, font character selectio

Editor module for the Decal layer type - the primary building block of the Dynamic Decals tool. Provides the "Decal Properties" section, inspector GUI, SDF introduction window, font character selection, and extensive property editing for scale, rotation, color, gradient, textures, masks, mirroring, mesh filtering, and SDF effects.


Module Info

KeyValue
Fileextensions/editor/dynamicDecals/layerTypes/decal.lua
logTageditor_dynamicDecals_layerTypes_decal
Dependencieseditor_api_dynamicDecals, editor_api_dynamicDecals_textures, editor_dynamicDecals_brushes, editor_dynamicDecals_inspector, editor_dynamicDecals_inspector_utils, editor_dynamicDecals_helper, editor_dynamicDecals_docs, editor_dynamicDecals_widgets, editor_dynamicDecals_fonts

Public API

FunctionSignatureDescription
M.isTexturesSdfCompatible(texturePath?)Checks if a texture's sidecar metadata marks it as SDF-compatible
M.checkColorDecalTexturesSdfCompatible()Checks current color texture and shows SDF intro window if compatible
M.showSdfIntroWindow()Opens the SDF introduction editor window
M.hideSdfIntroWindow()Hides the SDF introduction window
M.registerEditorPreferences(prefsRegistry)Registers decal and inspector preferences
M.editorPreferenceValueChanged(path, value)Stub
M.setup(tool_in)Registers "Decal Properties" section (priority 60), inspector GUI, docs, editor windows
M.editModeUpdate(dtReal, dtSim, dtRaw)Updates SDF highlight timer

Preferences

PathTypeDefaultDescription
dynamicDecalsTool.decalProperties.scaleStepfloat0.025Scale increment step
dynamicDecalsTool.decalProperties.rotationStepfloat15Rotation step in degrees
dynamicDecalsTool.decalProperties.texturePreviewSizefloat128Texture thumbnail max width
dynamicDecalsTool.decalProperties.doNotShowSdfIntroAgainboolfalseSuppress SDF intro popup
dynamicDecalsTool.inspector.applyMirroredPropertyToChildrenbooltruePropagate mirror changes to children

Section GUI Features

  • Save as brush, scale/rotation/flip/skew controls
  • Mirror toggle with offset slider and debug visualization
  • Surface normal projection toggle
  • Texture tree: font path, font character, color/alpha textures, gradient color
  • SDF properties: enable, thickness, softness, outline color/thickness/softness, preview
  • Alpha mask: channel, blend mode, intensity, rotation, scale, wrap, invert, offset
  • Metallic/roughness intensity
  • Color palette mapping with vehicle color preview button

Usage Example

local api = extensions.editor_api_dynamicDecals
local decal = extensions.editor_dynamicDecals_layerTypes_decal

-- Set a texture and check SDF compatibility
api.setDecalTexturePath("color", "/art/dynamicDecals/textures/star.png")
decal.checkColorDecalTexturesSdfCompatible()

-- Toggle SDF
api.setSdfEnabled(true)
api.setSdfThickness(0.5)
api.setSdfOutlineThickness(0.2)

See Also

  • Dynamic Decals Layer Type: Brush Stroke - Related reference
  • Dynamic Decals Layer Type: Fill - Related reference
  • Dynamic Decals Layer Type: Group - Related reference
  • World Editor Guide - Guide

Dynamic Decals Layer Type: Brush Stroke

Editor module for the Brush Stroke layer type in the Dynamic Decals tool. Provides inspector GUI and section GUI for configuring brush stroke properties such as interpolation, color, scale, rotation,

Dynamic Decals Layer Type: Fill

Editor module for the Fill layer type. Fill layers apply a single solid color across the entire vehicle surface. Provides a modal "Add Fill Layer" window, color palette mapping, inspector GUI, and a t

On this page

Module InfoPublic APIPreferencesSection GUI FeaturesUsage ExampleSee Also