---
name: "setApertureNew"
type: command
status: ok
groups: ["Camera Control", "Lights"]
arma3_since: "0.50"
locality: {"argument": null, "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/setApertureNew
revid: 376403
updated: 2025-10-11T00:55:28Z
---

# setApertureNew

*Command · Camera Control, Lights · Arma 3 v0.50*

Locality: effect **local**

## Description

Sets custom camera aperture when HDR is enabled. Provided values should be set such as *minimum* &lte; *standard* &lte; *maximum*.

> [!NOTE]
> - This command has to be executed after mission start: be sure to use e.g `sleep 0.1;` for it to take effect.
> - If HDR is enabled (it is by default), when [setAperture](../commands/setAperture.md) `value` is used it also forces [setApertureNew](../commands/setApertureNew.md) to the following values: [`value`, `value`, `value`, 1]. Execute [setApertureNew](../commands/setApertureNew.md) *after* [setAperture](../commands/setAperture.md) to override this default mechanic.

## Syntax

### Syntax 1

```sqf
setApertureNew [minimum, standard, maximum, luminance]
```

**Parameters:**

- `minimum`: [Number](../topics/Number.md) - minimum aperture
- `standard`: [Number](../topics/Number.md) - standard aperture
- `maximum`: [Number](../topics/Number.md) - maximum aperture
- `luminance`: [Number](../topics/Number.md) - standard luminance

**Returns:** [Nothing](../topics/Nothing.md)

### Syntax 2

```sqf
setApertureNew [reset]
```

**Parameters:**

- `reset`: [Number](../topics/Number.md) - reset to default with -1

### Syntax 3

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
setApertureNew [0.1, 0.2, 0.3, 1];
setApertureNew [-1];                // reset to default
```

### Example 2

Simulate eye adjustment at night:

```sqf
setDate [2016, 8, 10, 4, 0];
setApertureNew [2, 8, 14, 0.9];
```

### Example 3

Narrower range for a subtler effect:

```sqf
setDate [2016, 8, 10, 4, 0];
setApertureNew [2, 5, 9, 0.8];
```

## See also

[setAperture](../commands/setAperture.md) · [apertureParams](../commands/apertureParams.md)

## Community notes

**Tofof** — 2016-10-30

Some notes on [#Example 2](../commands/setApertureNew.md#example-2) - try it outdoors on a piece of ground with high contrasting areas. I suggest the end of a runway, standing among the white painted triangles.

Look up about 60 degrees above the horizon and toggle between `setApertureNew [2, 8, 14, .9];` and the default setting of `setAperture -1;`. There should be little change -- at least on the date in the example.

Reset again to `setApertureNew [2, 8, 14, .9];` and then pan slowly down until you're basically looking at your feet. The less sky (the main outdoor light source) you see, the 'wider' (toward the 'min' number) the aperture will become. Looking at the ground on a runway, for example, you should be able to easily distinguish the painted white triangles from the unpainted pavement. Again, toggle back to the default aperture. The view should get much darker.

This setting allows for some natural adjustment based on the amount of visible light in the scene, and is highly encouraged over the default fixed aperature for night missions. When you're standing in the beam of a lighthouse, for example (try near the 'Spartan' on Stratis), you will be basically unable to see anything not illuminated by the beam. Once the beam passes and your vision returns to normal, your immediate surroundings will be dimmer, of course, but you'll be able to see further out.

<sub>Source: [BI Community Wiki — setApertureNew](https://community.bistudio.com/wiki/setApertureNew) (revision 376403).</sub>
