CBaseEntity.m nRenderFX: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
|<span style="color: #66b1fa">0</span>
|<span style="color: #66b1fa">0</span>
|None
|None
|-
* <span style="color: #66b1fa">0</span>  - None
* <span style="color: #66b1fa">1</span>  - Slow Pulse (varies alpha by ±16 over a period of 1.5 s)
* <span style="color: #66b1fa">2</span>  - Fast Pulse (varies alpha by ±16 over a period of 0.4 s)
* <span style="color: #66b1fa">3</span>  - Slow Wide Pulse (varies alpha by ±64 over a period of 1.5 s)
* <span style="color: #66b1fa">4</span>  - Fast Wide Pulse (varies alpha by ±64 over a period of 0.4 s)
* <span style="color: #66b1fa">5</span>  - Slow Fade Away (decreases alpha by -1 per frame, fades out over 4 s)
* <span style="color: #66b1fa">6</span>  - Fast Fade Away (decreases alpha by -4 per frame, fades out over 1 s)
* <span style="color: #66b1fa">7</span>  - Slow Become Solid (increases alpha by +1 per frame, fades in over 4 s)
* <span style="color: #66b1fa">8</span>  - Fast Become Solid (increases alpha by +4 per frame, fades in over 1 s)
* <span style="color: #66b1fa">9</span>  - Slow Strobe (transparent 0.8 s, visible 0.8 s, repeat)
* <span style="color: #66b1fa">10</span>  - Fast Strobe (transparent 0.2 s, visible 0.2 s, repeat)
* <span style="color: #66b1fa">11</span>  - Faster Strobe (transparent 0.09 s, visible 0.09 s, repeat)
* <span style="color: #66b1fa">12</span>  - Slow Flicker (transparent 0.18 s, visible 1.5 s, repeat)
* <span style="color: #66b1fa">13</span>  - Fast Flicker (transparent 0.14 s, visible 0.2 s, repeat)
* <span style="color: #66b1fa">14</span>  - Constant Glow ("NoDissipation;" purpose uncertain—for sprites?)
* <span style="color: #66b1fa">15</span>  - Distort (causes unnatural flickering and position shifting), Fade Out (instant; not very useful outside of code)
* <span style="color: #66b1fa">16</span>  - Hologram (Distort + "distance fade"), Fade In (instant; not very useful outside of code)
* <span style="color: #66b1fa">17</span>  - Scale Up ("Explode"/"scale up really big!" causes wild stretching of model parts), Fade Wider Pulse (varies alpha by ±255 over a period over a period of 0.26 s)
* <span style="color: #66b1fa">18</span>  - Glow Shell (purpose unclear)
* <span style="color: #66b1fa">19</span>  - Clamp Minimum Scale ("keep this sprite from getting very small (SPRITES only!)")
* <span style="color: #66b1fa">20</span>  - Environmental Rain ("for environmental rendermode, make rain")
* <span style="color: #66b1fa">21</span>  - Environmental Snow ("for environmental rendermode, make snow")
* <span style="color: #66b1fa">22</span>  - Spotlight FX ("TEST CODE for experimental spotlight")
* <span style="color: #66b1fa">23</span>  - Ragdoll ("HACKHACK: TEST CODE for signalling death of a ragdoll character;" ragdolls an entity but doesn't kill it)
* <span style="color: #66b1fa">24</span> - Fade Wider Pulse (varies alpha by ±255 over a period of 0.26 s)
|}
|}

Revision as of 17:47, 16 September 2023

Overview

Entity alpha render effects.

Source location : /public/const.h#L367

Go back to Classes

Values
blah 0 None