Skip to content

LightRegionRenderData

15.8

Shared - used by classes in Map and environment and Game objects and entities.

Inheritance 1 descendant

Class Documentation

Edit documentation

The lighting and fog values of one light region of a map. The client sends the values of every region to the shaders as one array, and a pixel blends the regions that cover its position. See MapLightRegions.

The layout of this class is the layout of the shader struct of the same name: each property is one member, in the same order.

Properties

CharacterProbeIndex

U32 = 0
Add documentation

No documentation available yet. Click "Add documentation" to contribute!

CharacterSunLightColor

Vec3 = [1, 1, 1]
Type history (2 revisions)
  • 15.8 - 15.8 Vec4
  • since 15.9 Vec3
Add documentation

No documentation available yet. Click "Add documentation" to contribute!

CharacterSunLightDirection

Vec3 = [0, 0, 0]
Add documentation

No documentation available yet. Click "Add documentation" to contribute!

DepthFogColor

Vec3 = [0.03519999980926514, 0.125, 0.3050000071525574]
15.15
Add documentation

No documentation available yet. Click "Add documentation" to contribute!

DepthFogEnd

F32 = 3300
15.15
Add documentation

No documentation available yet. Click "Add documentation" to contribute!

DepthFogMaxIntensity

F32 = 0.25
15.15
Add documentation

No documentation available yet. Click "Add documentation" to contribute!

DepthFogStart

F32 = 2075
15.15
Add documentation

No documentation available yet. Click "Add documentation" to contribute!

HeightFogColor

Vec3 = [0.4050000011920929, 0.843999981880188, 0.9380000233650208]
15.15
Add documentation

No documentation available yet. Click "Add documentation" to contribute!

HeightFogEnd

F32 = -6500
15.15
Add documentation

No documentation available yet. Click "Add documentation" to contribute!

HeightFogMaxIntensity

F32 = 0.05000000074505806
15.15
Add documentation

No documentation available yet. Click "Add documentation" to contribute!

HeightFogStart

F32 = -400
15.15
Add documentation

No documentation available yet. Click "Add documentation" to contribute!

Padding

F32 = 0
16.20
Add documentation

No documentation available yet. Click "Add documentation" to contribute!

ProbeIndex

U32 = 0
Add documentation

No documentation available yet. Click "Add documentation" to contribute!

ReflectionSkyTint

Vec3 = [1, 1, 1]
16.13
Add documentation

No documentation available yet. Click "Add documentation" to contribute!

RimLightColor

Vec3 = [1, 1, 1]
16.20
Edit documentation

Color of the map rim light on characters that stand in this region. The shape and the direction of the rim are set once for the map, in RimLightMapProperties.

A pixel blends this color over the regions that cover it. If the blended color is black, the pixel gets no rim.

SunLightColor

Vec3 = [1, 1, 1]
Type history (2 revisions)
  • 15.8 - 15.8 Vec4
  • since 15.9 Vec3
Add documentation

No documentation available yet. Click "Add documentation" to contribute!

priority

U32 = 0
16.7
Add documentation

No documentation available yet. Click "Add documentation" to contribute!