LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

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.