Skip to content

CGlobalLightBase

CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json

Kind: classSize: 1216 bytes (0x4c0)Alignment: unspecified (0xff sentinel)Module: clientBinary: !GlobalTypes

Relationships

Inherits from: nothing; this is a root class.

Derived by: C_GlobalLight

Inheritance tree
Relationship diagram (2 edges)
classDiagram
    CGlobalLightBase <|-- C_GlobalLight
    CGlobalLightBase --> C_BaseEntity
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

43 fields, 43 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.

CGlobalLightBase

OffsetFieldTypeFromAnnotations
0x10m_bSpotLightbool
0x14m_SpotLightOriginVectorWS
0x20m_SpotLightAnglesQAngle
0x2cm_ShadowDirectionVector
0x38m_AmbientDirectionVector
0x44m_SpecularDirectionVector
0x50m_InspectorSpecularDirectionVector
0x5cm_flSpecularPowerfloat32
0x60m_flSpecularIndependencefloat32
0x64m_SpecularColorColor
0x68m_bStartDisabledbool
0x69m_bEnabledbool
0x6am_LightColorColor
0x6em_AmbientColor1Color
0x72m_AmbientColor2Color
0x76m_AmbientColor3Color
0x7cm_flSunDistancefloat32
0x80m_flFOVfloat32
0x84m_flNearZfloat32
0x88m_flFarZfloat32
0x8cm_bEnableShadowsbool
0x8dm_bOldEnableShadowsbool
0x8em_bBackgroundClearNotRequiredbool
0x90m_flCloudScalefloat32
0x94m_flCloud1Speedfloat32
0x98m_flCloud1Directionfloat32
0x9cm_flCloud2Speedfloat32
0xa0m_flCloud2Directionfloat32
0xb0m_flAmbientScale1float32
0xb4m_flAmbientScale2float32
0xb8m_flGroundScalefloat32
0xbcm_flLightScalefloat32
0xc0m_flFoWDarknessfloat32
0xc4m_bEnableSeparateSkyboxFogbool
0xc8m_vFowColorVector
0xd4m_ViewOriginVectorWS
0xe0m_ViewAnglesQAngle
0xecm_flViewFoVfloat32
0xf0m_WorldPointsVectorWS[8]
0x4a8m_vFogOffsetLayer0Vector2D
0x4b0m_vFogOffsetLayer1Vector2D
0x4b8m_hEnvWindCHandle< C_BaseEntity >
0x4bcm_hEnvSkyCHandle< C_BaseEntity >