RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

Server CommandsGE UtilitiesGame Engine MainNavigation GraphScreenshot CaptureServerServer ConnectionSpawnpoint ManagerSimulation TimeVehicle SpawningSuspension Frequency Tester
Flowgraph Base ModuleFlowgraph Base NodeFlowgraph Base State NodeFlowgraph Node BuilderFlowgraph GraphFlowgraph Group HelperFlowgraph LinkFlowgraph ManagerNew Node TemplateFlowgraph PinFlowgraph States ManagerFlowgraph UtilsFlowgraph Variable Storage
Directional GravityGet Cloud by IDGet FogGet GravityGet PauseGet PhotomodeGet ScatterSkyGet Time of DayPause GamePlanetRandom Time of DayBullet TimeSet Cloud by ID NodeSet Fog NodeSet Gravity NodeSet ScatterSky NodeSet Time of Day NodeSet Wind NodeSimple Planet Node

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 Extensionsflowgraphnodesenvironment

Set ScatterSky Node

- **File:** `flowgraph/nodes/environment/setScatterSky.lua`

Overview

  • File: flowgraph/nodes/environment/setScatterSky.lua
  • Name: Set ScatterSky
  • Category: dynamic_instant
  • Icon: simobject_scatter_sky

Sets various ScatterSky parameters (brightness, gradient textures, shadow settings). Stores and restores all values on execution start/stop.

Pin Schema

DirTypeNameFlagsDescription
innumberskyBrightnessGlobal sky brightness.
instringcolorizeGradientFilehardcoded, hiddenTexture to modulate sky color.
instringsunScaleGradientFilehardcoded, hiddenTexture to modulate sun color.
instringambientScaleGradientFilehardcoded, hiddenTexture to modulate ambient color.
instringfogScaleGradientFilehardcoded, hiddenTexture to modulate fog color.
instringnightGradientFilehardcoded, hiddenTexture to modulate ambient at night.
instringnightFogGradientFilehardcoded, hiddenTexture to modulate fog at night.
innumbershadowDistanceMax shadow visibility distance.
innumbershadowSoftnessShadow softness.
innumberlogWeightBalance between shadow distance and quality.

Tags

environment, tod

Data Properties

PropertyDefaultDescription
restoreScatterSkytrueRestore settings on execution stop.

Key Methods

MethodDescription
setScatterSkyParameters()Applies all parameters via core_environment. Also refreshes gradients by calling setTimeOfDay.
_executionStarted()Stores all current ScatterSky values.
_executionStopped()Restores all stored values if enabled.

See Also

  • Directional Gravity - Related reference
  • Get Cloud by ID - Related reference
  • Get Fog - Related reference
  • FlowGraph Guide - Guide

Set Gravity Node

- **File:** `flowgraph/nodes/environment/setGravity.lua`

Set Time of Day Node

- **File:** `flowgraph/nodes/environment/setTimeOfDay.lua`

On this page

OverviewPin SchemaTagsData PropertiesKey MethodsSee Also