setToneMapping: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (cannot create new tone mappings, edited)
m (Text replacement - "Post process effects" to "Post Process Effects")
 
(39 intermediate revisions by 5 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 |= Description
|gr1= System
____________________________________________________________________________________________


| '''setToneMapping''' toneName |= Syntax
|eff= local


|p1= toneName: [[String]] - where string is effect name - defaults are ''Arma'', ''Filmic'' and ''Reinhard''. They can be edited with [[setToneMappingParams]] command |= PARAMETER1
|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}}.}}


| Nothing |= RETURNVALUE
|s1= [[setToneMapping]] toneName


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


|x1= <code>setToneMapping "Filmic"</code>|= EXAMPLE1
|r1= [[Nothing]]


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


| [[setToneMappingParams]], [[ppEffectAdjust]], [[ppEffectCommit]], [[ppEffectCommitted]], [[ppEffectCreate]], [[ppEffectDestroy]], [[Post process effects]] |= SEEALSO
|seealso= [[setToneMappingParams]] [[ppEffectAdjust]] [[ppEffectCommit]] [[ppEffectCommitted]] [[ppEffectCreate]] [[ppEffectDestroy]] [[Post Process Effects]]
 
|  |= 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 OA: 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