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

Get ScatterSky

- **File:** `extensions/flowgraph/nodes/environment/getScatterySky.lua`

Overview

  • File: extensions/flowgraph/nodes/environment/getScatterySky.lua
  • Name: Get ScatterSky
  • Category: provider
  • Description: Returns the current ScatterSky parameters including brightness, gradient files, and shadow settings.

Pin Schema

Input Pins

None.

Output Pins

NameTypeDescription
skyBrightnessnumberGlobal sky brightness value.
colorizeGradientFilestringTexture used to modulate sky color. Hidden.
sunScaleGradientFilestringTexture used to modulate sun color. Hidden.
ambientScaleGradientFilestringTexture used to modulate ambient color. Hidden.
fogScaleGradientFilestringTexture used to modulate fog color. Hidden.
nightGradientFilestringTexture used to modulate ambient color at night. Hidden.
nightFogGradientFilestringTexture used to modulate fog color at night. Hidden.
shadowDistancenumberMaximum distance from camera at which shadows are visible.
shadowSoftnessnumberHow soft shadows appear.
logWeightnumberBalance between shadow distance and quality. Higher = sharper near camera.

Behavior

  • work(): Reads all ScatterSky properties from core_environment getters and outputs them.

Notes

  • Gradient file pins are hidden by default - unhide them if you need texture paths.
  • Provider category - continuously outputs without needing flow input.
  • Useful for reading sky state before applying modifications.

Tags

#flowgraph #node #ge #environment #sky #scattersky


Additional Exports

  • name - string - (see source)

  • icon - string - (see source)

  • description - string - (see source)

  • pinSchema - table - (see source)

  • tags - table - (see source)


See Also

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

Get Photomode

- **File:** `extensions/flowgraph/nodes/environment/getPhotomode.lua`

Get Time of Day

- **File:** `extensions/flowgraph/nodes/environment/getTimeOfDay.lua`

On this page

OverviewPin SchemaInput PinsOutput PinsBehaviorNotesTagsAdditional ExportsSee Also