Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


shadowBias

Shadow mapping constant bias.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public float shadowBias { get; set; }

Remarks

Shadow caster surfaces are pushed by this world-space amount away from the light, to help prevent self-shadowing ("shadow acne") artifacts.
Additional Resources: Light.shadows, Light.shadowNormalBias properties.