setToneMappingParams: Difference between revisions

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


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


|x2= <sqf>"Reinhard" setToneMappingParams [0.9, -0.003]</sqf>
|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 22:43, 28 June 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