Version: 5.3 (switch to 5.4b)
ЯзыкEnglish
  • C#
  • JS

Язык программирования

Выберите подходящий для вас язык программирования. Все примеры кода будут представлены на выбранном языке.

RenderTexture.sRGB

Руководство
public bool sRGB;

Описание

Does this render texture use sRGB read/write conversions (Read Only).

When Linear color space is used, render textures can perform Linear->sRGB conversions when rendering into them, and sRGB->Linear conversions when sampling them in the shaders. See RenderTextureReadWrite for more details.

The value of this property is based on the "readWrite" parameter of the RenderTexture constructor.

See Also: RenderTextureReadWrite.