Table of Contents

Class LightingConstants

Namespace
ValveResourceFormat.Renderer.Buffers
Assembly
Renderer.dll

Uniform buffer containing all scene lights and lightmap configuration.

public class LightingConstants

Inheritance

Inherited Members

Constructors

LightingConstants()

public LightingConstants()

Fields

EnvMapSizeConstants

public Vector4 EnvMapSizeConstants

Field Value

Vector4

IsSkybox

public uint IsSkybox

Field Value

uint

LightColor_Brightness

public Vector4[] LightColor_Brightness

Field Value

Vector4[]

LightDirection_InvRange

public Vector4[] LightDirection_InvRange

Field Value

Vector4[]

LightFallOff

public Vector4[] LightFallOff

Field Value

Vector4[]

LightPosition_Type

public Vector4[] LightPosition_Type

Field Value

Vector4[]

LightSpotInnerOuterCosines

public Vector4[] LightSpotInnerOuterCosines

Field Value

Vector4[]

LightToWorld

public Matrix4x4[] LightToWorld

Field Value

Matrix4x4[]

LightmapUvScale

public Vector2 LightmapUvScale

Field Value

Vector2

MAX_ENVMAPS

public const int MAX_ENVMAPS = 128

Field Value

int

MAX_LIGHTS

public const int MAX_LIGHTS = 256

Field Value

int

NumLights

public uint[] NumLights

Field Value

uint[]

NumLightsBakedShadowIndex

public uint[] NumLightsBakedShadowIndex

Field Value

uint[]

_LightingPadding1

public float _LightingPadding1

Field Value

float