Usefp (Slash Command): Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOTOC__
== Slash Command ==
== Slash Command ==
{{SlashCommandArticle|command=usefp|options=[0-1]|note=Use a floating point render target for HDR lighting effects if available.}}
{{SlashCommandArticle|command=usefp|options=[0-1]|note=Use a floating point render target for HDR lighting effects if available.}}
Line 4: Line 5:
* 0 = Disable floating point, 1 = Enable floating point. Default = 0.
* 0 = Disable floating point, 1 = Enable floating point. Default = 0.
* This command enables a dynamic range of values for HDR lighting effects rather than a hard, constant value such as 5. Floating-point values allow you to represent very large differences in light intensity in your scene, without knowing beforehand what the maximum and minimum light values will be.
* This command enables a dynamic range of values for HDR lighting effects rather than a hard, constant value such as 5. Floating-point values allow you to represent very large differences in light intensity in your scene, without knowing beforehand what the maximum and minimum light values will be.
* HDR must be enabled first using {{slashcommand|usehdr}} before the  {{launchparam|usefp}} command will work.
* HDR must be enabled first using {{slashcommand|usehdr}} before the  {{slashcommand|usefp}} command will work.




==Command Line Parameter==
==Command Line Parameter==
The command can be run at log-in as a [[Command Line Parameters|Command Line Parameter]]. For example, <code>-usehdr 1</code>.   
The command can be run at log-in as a [[Command Line Parameters|Command Line Parameter]]. For example, <code>-usefp 1</code>.   




==Example==
==Example==
  -usefp
  /usefp 1




Line 23: Line 24:


{{Navbox Graphic Commands}}
{{Navbox Graphic Commands}}
{{Navbox Command Line Parameters}}
[[Category:Graphic Commands]]
[[Category:Graphic Commands]]
[[Category:Command Line Parameters]]
[[Category:Command Line Parameters]]

Latest revision as of 22:22, 19 February 2024

Slash Command

/usefp [0-1]

Use a floating point render target for HDR lighting effects if available.

  • 0 = Disable floating point, 1 = Enable floating point. Default = 0.
  • This command enables a dynamic range of values for HDR lighting effects rather than a hard, constant value such as 5. Floating-point values allow you to represent very large differences in light intensity in your scene, without knowing beforehand what the maximum and minimum light values will be.
  • HDR must be enabled first using /usehdr before the /usefp command will work.


Command Line Parameter

The command can be run at log-in as a Command Line Parameter. For example, -usefp 1.


Example

/usefp 1


Also