Jump to content

DisableShadowCache: Difference between revisions

From ModEnc²
en>Mevitar
creating description of how the tag works
 
m 2 revisions imported
 
(One intermediate revision by one other user not shown)
Line 5: Line 5:
|default=no
|default=no
|games
|games
|ts=yes
|fs=yes
|ets=yes
|ra2=yes
|ra2=yes
|yr=yes
|yr=yes
|rp=yes}}
|rp=yes}}
This tag tells the game whether the shadow cast by this object should be cached or not. Disabling the cache makes the game render a separate shadow for each frame of the object's hva animation (as opposed to using only shadows of the first frame for all frames of the animation). This effectively fixes any holes created in the shadow by moving sections of the voxel, and prevents the shadow from appearing on a jumpjet that lands on the ground.
This tag tells the game whether the shadow cast by this object should be cached or not. Disabling the cache makes the game render a separate shadow for each frame of the object's hva animation (as opposed to using only shadows of the first frame for all frames of the animation). This effectively fixes any holes created in the shadow by moving sections of the voxel, and prevents the shadow from appearing on a jumpjet that lands on the ground.

Latest revision as of 21:40, 31 March 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: DisableShadowCache
File(s): Art(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: no
Applicable to: VehicleTypes (voxel only), AircraftTypes


This tag tells the game whether the shadow cast by this object should be cached or not. Disabling the cache makes the game render a separate shadow for each frame of the object's hva animation (as opposed to using only shadows of the first frame for all frames of the animation). This effectively fixes any holes created in the shadow by moving sections of the voxel, and prevents the shadow from appearing on a jumpjet that lands on the ground.