Class
ColorCorrectionEffect
Adjusts color-related properties of the rendered world like saturation, tint, brightness, and contrast.
ColorCorrectionEffect can be used to adjust several color-related
properties at once, including
Saturation,
TintColor,
Brightness and
Contrast. It's useful for fine-tuning
the visual aesthetic of a world or communicating status effects to the player.
Multiple ColorCorrectionEffect objects can be applied at the same time
and they will compose their effects together.
Like other
post-processing effects,
ColorCorrectionEffect will only work while
Enabled and when parented to Lighting or
Workspace.CurrentCamera. Also, it may render differently depending on
your Studio settings (see Editor Quality Level in
Rendering).
Properties 4#
Brightnessfloat | Determines by how much the brightness of pixel colors will be shifted.ReadSafe |
Contrastfloat | Determines the change in separation between the dark and light colors.ReadSafe |
Saturationfloat | Determines the change in intensity of colors.ReadSafe |
TintColorColor3 | Determines by how much the RGB channels of pixels are scaled.ReadSafe |
Brightness: float#
ReadSafe
This property determines by how much the colors of pixels will be shifted.
A value of -1 will cause all pixels to be completely black while a value
of 1 will cause them to be white.
Contrast: float#
ReadSafe
This property determines the separation between the dark and light colors.
Values less than 0 have reduced contrast while values greater than 0
have increased contrast.
Saturation: float#
ReadSafe
This property determines the change in intensity of pixel colors. Values
above 1 will cause colors to be more vivid while values below 0 will
make colors more dull, eventually reaching full desaturation at -1.
TintColor: Color3#
ReadSafe
This property determines by what factors the RGB channels of pixel colors
are scaled. The effect is multiplicative, so changing this to [255, 0, 0] (red) would cause the green and blue
channels to be multiplied by 0.
Inherited members#
Inherited from PostEffect 1
Properties (1)
Inherited from Instance 58
Properties (10)
Archivable, archivable, Capabilities, IsInSandbox, Name, Parent, PredictionMode, RobloxLocked, Sandboxed, UniqueId
Methods (39)
AddTag, children, ClearAllChildren, Clone, clone, Destroy, destroy, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, findFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, FindFirstDescendant, GetActor, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, getChildren, GetDebugId, GetDescendants, GetFullName, GetStyled, GetStyledPropertyChangedSignal, GetTags, HasTag, IsAncestorOf, IsDescendantOf, isDescendantOf, IsPropertyModified, QueryDescendants, Remove, remove, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild