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
| Name | Type | Description |
|---|---|---|
skyBrightness | number | Global sky brightness value. |
colorizeGradientFile | string | Texture used to modulate sky color. Hidden. |
sunScaleGradientFile | string | Texture used to modulate sun color. Hidden. |
ambientScaleGradientFile | string | Texture used to modulate ambient color. Hidden. |
fogScaleGradientFile | string | Texture used to modulate fog color. Hidden. |
nightGradientFile | string | Texture used to modulate ambient color at night. Hidden. |
nightFogGradientFile | string | Texture used to modulate fog color at night. Hidden. |
shadowDistance | number | Maximum distance from camera at which shadows are visible. |
shadowSoftness | number | How soft shadows appear. |
logWeight | number | Balance between shadow distance and quality. Higher = sharper near camera. |
Behavior
- work(): Reads all ScatterSky properties from
core_environmentgetters 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