Version: 5.6 (switch to 2017.1b)
LanguageEnglish
  • C#
  • JS

Script language

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

Terrain.reflectionProbeUsage

public Rendering.ReflectionProbeUsage reflectionProbeUsage;

Description

How reflection probes are used for terrain. See ReflectionProbeUsage.

If enabled and reflection probes are present in the scene, a reflection texture will be picked for the terrain object and set as a uniform for the shader.
Not applicable to materials using built-in Legacy shaders.