setToneMapping: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "[[Category:ArmA 2 OA: New Scripting Commands List" to "[[Category:Arma 2: Operation Arrowhead: New Scripting Commands List")
m (Text replacement - "Post process effects" to "Post Process Effects")
 
(29 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma2oa |Game name=
|game1= arma2oa
|version1= 1.62


|1.62|Game version=
|game2= tkoh
____________________________________________________________________________________________
|version2= 1.00


| Applies a specific tone mapping to the game.<br><br>
|gr1= System


{{Feature arma3|This command is not present in Arma 3.}}|DESCRIPTION=
|eff= local
____________________________________________________________________________________________


| '''setToneMapping''' toneName |SYNTAX=
|descr= Applies a specific tone mapping to the game. The tone mapping can be edited with [[setToneMappingParams]].
{{Feature|arma3|This command is not present in {{arma3}}.}}


|p1= toneName: [[String]] - where string is effect name - defaults are ''Arma'', ''Filmic'' and ''Reinhard''. They can be edited with [[setToneMappingParams]] command |PARAMETER1=
|s1= [[setToneMapping]] toneName


| Nothing |RETURNVALUE=  
|p1= toneName: [[String]] - can be one of:
* "Arma"
* "Filmic"
* "Reinhard"


|r1= [[Nothing]]


|x1= <code>setToneMapping "Filmic"</code>|EXAMPLE1=
|x1= <sqf>setToneMapping "Filmic";</sqf>


____________________________________________________________________________________________
|seealso= [[setToneMappingParams]] [[ppEffectAdjust]] [[ppEffectCommit]] [[ppEffectCommitted]] [[ppEffectCreate]] [[ppEffectDestroy]] [[Post Process Effects]]
 
| [[setToneMappingParams]], [[ppEffectAdjust]], [[ppEffectCommit]], [[ppEffectCommitted]], [[ppEffectCreate]], [[ppEffectDestroy]], [[Post process effects]] |SEEALSO=
 
|  |MPBEHAVIOUR=
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Arma 2: Operation Arrowhead: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 23:24, 12 July 2022

Hover & click on the images for description

Description

Description:
Applies a specific tone mapping to the game. The tone mapping can be edited with setToneMappingParams.
Arma 3
This command is not present in Arma 3.
Groups:
System

Syntax

Syntax:
setToneMapping toneName
Parameters:
toneName: String - can be one of:
  • "Arma"
  • "Filmic"
  • "Reinhard"
Return Value:
Nothing

Examples

Example 1:
setToneMapping "Filmic";

Additional Information

See also:
setToneMappingParams ppEffectAdjust ppEffectCommit ppEffectCommitted ppEffectCreate ppEffectDestroy Post Process Effects

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note