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

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 ExtensionseditordynamicDecals

Dynamic Decals Textures

Editor module providing the texture browser, tag browser, texture inspector, and sidecar metadata management for the Dynamic Decals tool. Handles texture selection, context menus, drag-drop, virtual s

Editor module providing the texture browser, tag browser, texture inspector, and sidecar metadata management for the Dynamic Decals tool. Handles texture selection, context menus, drag-drop, virtual scrolling, and bulk metadata editing.


Module Info

KeyValue
Fileextensions/editor/dynamicDecals/textures.lua
logTageditor_dynamicDecals_textures
Dependencieseditor_api_dynamicDecals, editor_api_dynamicDecals_textures, editor_dynamicDecals_browser, editor_dynamicDecals_layerTypes_decal, editor_dynamicDecals_docs, editor_dynamicDecals_selection, editor_dynamicDecals_notification, editor_dynamicDecals_helper

Public API

FunctionSignatureDescription
M.getTexturesDirectoryPath() → stringReturns the textures directory path from the textures API
M.dynamicDecals_onTextureFileAdded(filepath)Hook called when a texture file is added; generates sidecar and notifies
M.dynamicDecals_onTextureFileDeleted(filepath)Hook called when a texture file is deleted; cleans up selection
M.registerEditorPreferences(prefsRegistry)Registers texture browser preferences
M.editorPreferenceValueChanged(path, value)Stub
M.setup(tool_in)Registers browser tabs ("Textures" priority 10, "Tags" priority 20), docs, inspector handler, initializes textures API, handles missing sidecar files

Preferences

PathTypeDefaultDescription
dynamicDecalsTool.textureBrowser.loadImagesPerFrameCountint3Images loaded per frame in the browser
dynamicDecalsTool.textureBrowser.enableVirtualScrollingbooltrueOnly load visible textures (performance)
dynamicDecalsTool.textureBrowser.texturePreviewSizefloat128Thumbnail size in the browser (32–512)

Browser Features

  • Textures tab - Grid of texture thumbnails with text filter, virtual scrolling, double-click to set as color texture, RMB context menu, drag-drop source (DynDecalTextureDrapDrop)
  • Tags tab - Textures organized by tags from sidecar metadata, collapsible sections
  • Selection - LMB select, Ctrl+LMB multi-select, Shift+LMB range select
  • Context menu - "Set as decal color texture" / "Set as decal alpha texture"

Inspector Features (Texture Selection)

When textures are selected, the inspector shows per-texture metadata:

  • Version, resolution, texture type (greyscale/color/sdf), SDF compatibility flag
  • Tags list with add/remove, vehicle binding field
  • Apply/Cancel buttons per texture
  • Bulk Change panel for multi-select: apply type, SDF flag, tags, vehicle to all selected

Usage Example

local textures = extensions.editor_dynamicDecals_textures
local dir = textures.getTexturesDirectoryPath()
-- Returns "/art/dynamicDecals/textures/"

See Also

  • Dynamic Decals - Browser - Related reference
  • Dynamic Decals - Brushes - Related reference
  • Dynamic Decals - Camera - Related reference
  • World Editor Guide - Guide

Dynamic Decals Settings

Editor module providing the Settings panel for the Dynamic Decals tool. Manages tool enable state, cursor mode, UV layer, material/mesh selection, texture resolution, and preferences access.

Dynamic Decals Vehicle Color Palette

Editor module providing the Vehicle Color Palette section for the Dynamic Decals tool. Allows editing the three vehicle color slots (color, colorPalette0, colorPalette1) with metallic paint data, rand

On this page

Module InfoPublic APIPreferencesBrowser FeaturesInspector Features (Texture Selection)Usage ExampleSee Also