Template:KV BmGodraysFancy: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(This template stores godrays (fancy) related keyvalues for new lights from BMS. This template will be used in NewLight_Point.)
 
No edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!--Purpose:
We are using this template for one or multiple pages related to Black Mesa new light entities. These templates allows you to use the same text for entities that have many identical properties, without having to make the same changes for several pages separately. This template is also may used in some other templates.-->
{{KV|GodRaysType|intn=GodRaysType|choices|Sets godrays type, normal or fancy.
{{KV|GodRaysType|intn=GodRaysType|choices|Sets godrays type, normal or fancy.
*0: Normal
*0: Normal
*1: Fancy}}
*1: Fancy}}
{{expand|margin_left=2em|title=Examples|
:{{expand|title=Examples|
<gallery mode=packed heights=290px>
<gallery mode=packed heights=290px>
File:cGodRaysTypeNormalAlt.jpg| thumb | Normal
File:cGodRaysTypeNormalAlt.jpg| thumb | Normal
Line 14: Line 16:
}}
}}
{{KV|Ell_FR_ConstA|intn=Ell_FR_ConstA|float|This is fancy godrays disk size.
{{KV|Ell_FR_ConstA|intn=Ell_FR_ConstA|float|This is fancy godrays disk size.
{{expand|margin_left=2em|title=Examples|
:{{expand|title=Examples|
<gallery mode=packed heights=290px>
<gallery mode=packed heights=290px>
File:C Ell_FR_ConstA1.jpg| thumb | left | 510px | 0.9
File:FancyRaysOnSkybox.jpg| thumb | left | 510px | 0.9
File:C Ell_FR_ConstA2.jpg| thumb | left | 510px | 5
File:Ell_FR_ConstA_05.jpg| thumb | left | 510px | 5
File:C Ell_FR_ConstA3.jpg| thumb | left | 510px | 10
File:Ell_FR_ConstA_10.jpg| thumb | left | 510px | 10
</gallery>
</gallery>
}}
}}
}}
}}
{{KV|Ell_FR_ConstB|intn=Ell_FR_ConstB|float|This is fancy godrays disk distortion.
{{KV|Ell_FR_ConstB|intn=Ell_FR_ConstB|float|This is fancy godrays disk distortion.
{{expand|margin_left=2em|title=Examples|
:{{expand|title=Examples|
<gallery mode=packed heights=290px>
<gallery mode=packed heights=290px>
File:C Ell_FR_ConstB1.jpg| thumb | left | 510px | 0.1
File:FancyRaysOnSkybox.jpg| thumb | left | 510px | 0.1
File:C Ell_FR_ConstB2.jpg| thumb | left | 510px | 1
File:Ell_FR_ConstB_01.jpg| thumb | left | 510px | 1
File:C Ell_FR_ConstB3.jpg| thumb | left | 510px | 10
File:Ell_FR_ConstB_20.jpg| thumb | left | 510px | 20
</gallery>
</gallery>
}}
}}
}}
}}
{{KV|EEll_SR_ConstA|intn=EEll_SR_ConstA|float|This is fancy godrays disk hole size.
{{KV|EEll_SR_ConstA|intn=EEll_SR_ConstA|float|This is fancy godrays disk hole size.
{{expand|margin_left=2em|title=Examples|
:{{expand|title=Examples|
<gallery mode=packed heights=290px>
<gallery mode=packed heights=290px>
File:Ell_SR_ConstA1.jpg| thumb | left | 510px | 0.9
File:Ell_SR_ConstA1.jpg| thumb | left | 510px | 0.9
Line 41: Line 43:
}}
}}
{{KV|EEll_SR_ConstB|intn=EEll_SR_ConstB|float|This is fancy godrays disk hole distortion.
{{KV|EEll_SR_ConstB|intn=EEll_SR_ConstB|float|This is fancy godrays disk hole distortion.
{{expand|margin_left=2em|title=Examples|
:{{expand|title=Examples|
<gallery mode=packed heights=290px>
<gallery mode=packed heights=290px>
File:EEll_SR_ConstB1.jpg| thumb | left | 510px | 0.1
File:EEll_SR_ConstB1.jpg| thumb | left | 510px | 0.1
Line 50: Line 52:
}}
}}
{{KV|Ell_RRF_ConstA|intn=Ell_RRF_ConstA|float|This is fancy godrays inner size.
{{KV|Ell_RRF_ConstA|intn=Ell_RRF_ConstA|float|This is fancy godrays inner size.
{{expand|margin_left=2em|title=Examples|
:{{expand|title=Examples|
<br>
<br>
<gallery mode=packed heights=290px>
<gallery mode=packed heights=290px>
File:C Ell_RRF_ConstA1.jpg| thumb | left | 510px | 0.9
File:FancyRaysOnSkybox.jpg| thumb | left | 510px | 0.9
File:C Ell_RRF_ConstA2.jpg| thumb | left | 510px | 1.5
File:Ell_RRF_ConstA_1point5.jpg| thumb | left | 510px | 1.5
File:C Ell RRF ConstA3.jpg| thumb | left | 510px | 42
File:Ell_RRF_ConstA_2.jpg| thumb | left | 510px | 2
</gallery>
</gallery>
}}
}}
}}
}}
{{KV|Ell_RRF_ConstB|intn=Ell_RRF_ConstB|float|This is fancy godrays inner distortion.
{{KV|Ell_RRF_ConstB|intn=Ell_RRF_ConstB|float|This is fancy godrays inner distortion.
{{expand|margin_left=2em|title=Examples|
:{{expand|title=Examples|
<gallery mode=packed heights=290px>
<gallery mode=packed heights=290px>
File:C Ell RRF ConstB1.jpg| thumb | left | 510px | 0.1
File:FancyRaysOnSkybox.jpg| thumb | left | 510px | 0.1
File:C Ell RRF ConstB2.jpg| thumb | left | 510px | 0.7
File:Ell_RRF_ConstB_0point7.jpg| thumb | left | 510px | 0.7
File:C Ell RRF ConstB3.jpg| thumb | left | 510px | 5.0
File:Ell_RRF_ConstB_5.jpg| thumb | left | 510px | 5.0
</gallery>
</gallery>
}}
}}
}}
}}
{{KV|RotSpeed|intn=RotSpeed|float|Rotating speed of fancy godrays, 0 means don't rotate, with negative number it will rotate to left.
{{KV|RotSpeed|intn=RotSpeed|float|Rotating speed of fancy godrays, 0 means don't rotate, with negative number it will rotate to left. [https://youtu.be/t_berHAL_rw Examples] (link to a video that showcase different values).
{{expand|margin_left=2em|title=Examples|
<gallery mode=packed heights=370px>
File:cRS1.gif| thumb | left | 510px | RotSpeed - 3.14
File:cRS2.gif| thumb | left | 510px | RotSpeed - 0
File:cRS3.gif| thumb | left | 510px | RotSpeed - 40
</gallery>
}}
}}
{{KV|RotPatternFreq|intn=RotPatternFreq|integer|Count of fancy godrays, with negative number will deny RotSpeed +/- effect.
{{expand|margin_left=2em|title=Examples|
<gallery mode=packed heights=370px>
File:cRPF1.gif| thumb | left | 510px | RotPatternFreq - -40
File:cRPF2.gif| thumb | left | 510px | RotPatternFreq - -4
</gallery>
}}
}}
{{KV|RotPatternFreq|intn=RotPatternFreq|integer|Count of fancy godrays, with negative number will deny RotSpeed +/- effect. [https://youtu.be/scrn2trPyQY Examples] (link to a video that showcase different values).
}}
}}
{{KV|m_fAlphaDiskInner|intn=m_fAlphaDiskInner|float|{{todo|}}}}
{{KV|m_fAlphaDiskInner|intn=m_fAlphaDiskInner|float|Alpha inner value for disk. Doesn't work.|deprecated=1}}
{{KV|m_fAlphaDiskOuter|intn=m_fAlphaDiskOuter|float|{{todo|}}}}
{{KV|m_fAlphaDiskOuter|intn=m_fAlphaDiskOuter|float|Alpha outer value for disk. Doesn't work.|deprecated=1}}
{{KV|UseToneMapRays|intn=m_bUseToneMapRays|choices|
{{KV|UseToneMapRays|intn=m_bUseToneMapRays|choices|Sets [[Env tonemap controller|tonemap]] state for rays, enabled or disabled. Doesn't work.
*0: Enabled
*0: Enabled
*1: Disabled
*1: Disabled
{{ModernConfirm|Deprecated.}}
|deprecated=1}}
}}
{{KV|UseToneMapDisk|intn=m_bUseToneMapDisk|choices|Sets [[Env tonemap controller|tonemap]] state for disk, enabled or disabled. Doesn't work.
{{KV|UseToneMapDisk|intn=m_bUseToneMapDisk |choices|
*0: Enabled
*0: Enabled
*1: Disabled
*1: Disabled
{{ModernConfirm|Deprecated.}}
|deprecated=1}}
}}

Latest revision as of 07:27, 24 June 2025


GodRaysType (GodRaysType) <choices>
Sets godrays type, normal or fancy.
  • 0: Normal
  • 1: Fancy
Examples
RenderInWorldSpace (m_bEnableWorldSpace) <choices>
Disables disks if this enabled.
  • 0: Disabled
  • 1: Enabled
Confirm:Does it affect anything else ?
Ell_FR_ConstA (Ell_FR_ConstA) <float>
This is fancy godrays disk size.
Examples
Ell_FR_ConstB (Ell_FR_ConstB) <float>
This is fancy godrays disk distortion.
Examples
EEll_SR_ConstA (EEll_SR_ConstA) <float>
This is fancy godrays disk hole size.
Examples
EEll_SR_ConstB (EEll_SR_ConstB) <float>
This is fancy godrays disk hole distortion.
Examples
Ell_RRF_ConstA (Ell_RRF_ConstA) <float>
This is fancy godrays inner size.
Examples


Ell_RRF_ConstB (Ell_RRF_ConstB) <float>
This is fancy godrays inner distortion.
Examples
RotSpeed (RotSpeed) <float>
Rotating speed of fancy godrays, 0 means don't rotate, with negative number it will rotate to left. Examples (link to a video that showcase different values).
RotPatternFreq (RotPatternFreq) <integer>
Count of fancy godrays, with negative number will deny RotSpeed +/- effect. Examples (link to a video that showcase different values).
m_fAlphaDiskInner (m_fAlphaDiskInner) <float> Obsolete
Deprecated.
Alpha inner value for disk. Doesn't work.
m_fAlphaDiskOuter (m_fAlphaDiskOuter) <float> Obsolete
Deprecated.
Alpha outer value for disk. Doesn't work.
UseToneMapRays (m_bUseToneMapRays) <choices> Obsolete
Deprecated.
Sets tonemap state for rays, enabled or disabled. Doesn't work.
  • 0: Enabled
  • 1: Disabled
UseToneMapDisk (m_bUseToneMapDisk) <choices> Obsolete
Deprecated.
Sets tonemap state for disk, enabled or disabled. Doesn't work.
  • 0: Enabled
  • 1: Disabled