ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. setCameraRenderExposure

Function

setCameraRenderExposure

ClientDrawing (dx)Trilogy Hub only

Sets the camera image brightness: "auto" (default, picks a 0.5-4 multiplier from the frame brightness like a camera) or a fixed 0.05-16 multiplier. The camera image has lifted shadows so it looks similar to the game at night.

Syntax

bool setCameraRenderExposure(element camera, string|float value)

Arguments

cameraelement
The camera.
valuestring|float
"auto" or a multiplier.

Returns

true on success.

Example

local cam = createCameraRender(256, 256)
setCameraRenderExposure(cam, 1.5)

See also