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

Script language

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

SystemInfo.supportsRawShadowDepthSampling

public static bool supportsRawShadowDepthSampling;

Description

Is sampling raw depth from shadowmaps supported? (Read Only)

Some platforms (most notably Direct3D 9) can not sample raw depth value from a shadowmap.

See Also: CommandBuffer.SetShadowSamplingMode.

Did you find this page useful? Please give it a rating: