Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


offsetFactor

Scales the maximum Z slope in the GPU's depth bias setting.
Read time 1 minuteLast updated 6 days ago

Definition

public float offsetFactor { get; set; }

Remarks

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