setToneMapping: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - "Post process effects" to "Post Process Effects")
 
(22 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


|gr1= System |GROUP1=
|gr1= System


| Applies a specific tone mapping to the game.<br><br>
|eff= local


{{Feature|arma3|This command is not present in Arma 3.}}|DESCRIPTION=
|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}}.}}


| '''setToneMapping''' toneName |SYNTAX=
|s1= [[setToneMapping]] toneName


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


| Nothing |RETURNVALUE=
|r1= [[Nothing]]


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


|x1= <code>setToneMapping "Filmic"</code>|EXAMPLE1=
|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}}}}]]
{{GameCategory|arma2|Scripting Commands}}
[[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