ColorCorrectionEffect

사용되지 않는 항목 표시

The ColorCorrectionEffect can be used to adjust several color-related properties at once: 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 once 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 the Quality Level settings in RenderingPerformance).

For more details on this effect and others, see Post-Processing Effects.

요약

속성

  • 병렬 읽기

    Determines by how much the brightness of pixel colors will be shifted.

  • 병렬 읽기

    Determines the change in separation between the dark and light colors.

  • 병렬 읽기

    Determines the change in intensity of colors.

  • 병렬 읽기

    Determines by how much the RGB channels of pixels are scaled.

속성PostEffect에서 상속되었습니다
  • 병렬 읽기

    Toggles whether or not the PostEffect is enabled.

속성

Brightness

병렬 읽기

Brightness 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

병렬 읽기

Contrast 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

병렬 읽기

Saturation 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

병렬 읽기

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.

메서드

이벤트