Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

RasterState.offsetFactor

public float offsetFactor;

Description

Scales the maximum Z slope in the GPU's depth bias setting.

Corresponds to the Offset command in ShaderLab. For more information, see ShaderLab command: Offset.