Legacy Documentation: Version 2017.2 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

MaterialProperty.PropFlags.HDR

Description

Signifies that values of this property contain High Dynamic Range (HDR) data.

When this flag is set, the default material inspector will display warning if incompatible data was assigned in the Material. For instance default material inspector will warn and suggest to fix the texture that contain alpha channel (unsupported in HDR textures). This corresponds to "[HDR]" attribute in front of property in the shader code.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答