Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

TextureImporter.linearTexture

Switch to Manual
public var linearTexture: bool;

Description

When in linear rendering should this texture be sampled with hardware gamma correction (sRGB) or without (linear)?