setToneMappingParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
Line 25: Line 25:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>"Filmic" setToneMappingParams [0.2, 0.30, 0.20, 0.30, 0.01, 3.750, 6, 4]</code>
|x1= <sqf>"Filmic" setToneMappingParams [0.2, 0.30, 0.20, 0.30, 0.01, 3.750, 6, 4]</sqf>


|x2= <code>"Reinhard" setToneMappingParams [0.9, -0.003]</code>
|x2= <sqf>"Reinhard" setToneMappingParams [0.9, -0.003]</sqf>


|seealso= [[setToneMapping]] [[ppEffectAdjust]] [[ppEffectCommit]] [[ppEffectCommitted]] [[ppEffectCreate]] [[ppEffectDestroy]] [[Post process effects]]
|seealso= [[setToneMapping]] [[ppEffectAdjust]] [[ppEffectCommit]] [[ppEffectCommitted]] [[ppEffectCreate]] [[ppEffectDestroy]] [[Post process effects]]
}}
}}

Revision as of 11:24, 13 May 2022

Hover & click on the images for description

Description

Description:
Edits tone mapping parameters.
Arma 3
This command is not present in Arma 3.
Groups:
System

Syntax

Syntax:
toneName setToneMappingParams params
Parameters:
toneName: String - can be one of:
  • "Arma"
  • "Filmic"
  • "Reinhard"
params: Array - (please populate)
Return Value:
Nothing

Examples

Example 1:
"Filmic" setToneMappingParams [0.2, 0.30, 0.20, 0.30, 0.01, 3.750, 6, 4]
Example 2:
"Reinhard" setToneMappingParams [0.9, -0.003]

Additional Information

See also:
setToneMapping 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