Env cascade volume: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
(One intermediate revision by the same user not shown)
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.


==Keyvalues==
==Keyvalues==
{{KV Targetname}}
{{KV|RadiusX|intn=radiusx|float|Radius along world X axis.}}
{{KV|RadiusX|intn=radiusx|float|Radius along world X axis.}}
{{KV|RadiusY|intn=radiusy|float|Radius along world Y axis.}}
{{KV|RadiusY|intn=radiusy|float|Radius along world Y axis.}}
{{KV|RadiusZ|intn=radiusz|float|Radius along world Z axis.}}
{{KV|RadiusZ|intn=radiusz|float|Radius along world Z axis.}}


==See also==
==See also==
*{{ent|env_cascade_light}}
*{{ent|env_cascade_light}}
*{{ent|trigger_csm_volume}}
*{{ent|trigger_csm_volume}}

Latest revision as of 07:00, 27 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

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