Env cascade volume: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{CDA|CCSMVolume|CBaseEntity|}}
{{ent not in fgd|none}}
{{ent not in fgd|none}}
{{this is a|point entity|name=env_cascade_volume|game=Black Mesa|sprite=shadow_control.png}} This entity allows you to control CSM volumes via inputs from other entities (read more about CSM volumes and how to use them [[Env_cascade_light#Cascade_Shadow_Mapping_Volumes|here]]). You can use it by input {{code|SetCSMVolumeViaCSMVolumeEntity}} from {{ent|env_cascade_light}}. This entity is formally deprecated due to the presence of a more practical and convenient {{ent|trigger_csm_volume}}. This confirms the fact that by default it is disabled in [[FGD]], not removed, but commented. You can find the code in <code>base.cfg</code> on line 3169. The radius properties defines bounds for CSM volume.
{{this is a|point entity|name=env_cascade_volume|game=Black Mesa|sprite=shadow_control.png}} This entity allows you to control CSM volumes via inputs from other entities (read more about CSM volumes and how to use them [[Env_cascade_light#Cascade_Shadow_Mapping_Volumes|here]]). You can use it by input {{code|SetCSMVolumeViaCSMVolumeEntity}} from {{ent|env_cascade_light}}. This entity is formally deprecated due to the presence of a more practical and convenient {{ent|trigger_csm_volume}}. This confirms the fact that by default it is disabled in [[FGD]], not removed, but commented. You can find the code in <code>base.cfg</code> on line 3169. The radius properties defines bounds for CSM volume.

Revision as of 23:32, 26 May 2025

C++ Class hierarchy
CCSMVolume
CBaseEntity
Icon-NotInFGD.png
This entity is not in the FGD by default.
See below for instructions on making it available.
Shadow control.png

env_cascade_volume is a point entity available in Black Mesa Black Mesa. This entity allows you to control CSM volumes via inputs from other entities (read more about CSM volumes and how to use them here). You can use it by input SetCSMVolumeViaCSMVolumeEntity from env_cascade_light. This entity is formally deprecated due to the presence of a more practical and convenient trigger_csm_volume. This confirms the fact that by default it is disabled in FGD, not removed, but commented. You can find the code in base.cfg on line 3169. The radius properties defines bounds for CSM volume.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

RadiusX (radiusx) <float>
Radius along world X axis.
RadiusY (radiusy) <float>
Radius along world Y axis.
RadiusZ (radiusz) <float>
Radius along world Z axis.


See also