기술 자료

Unity Engine

Download Unity

Unity Engine

useLightProbes

Should light probes be used for this Renderer?
읽는 시간 1분최근 업데이트: 하루 전

Definition

경고
Deprecated. Use lightProbeUsage instead.
public bool useLightProbes { get; set; }

Remarks

If enabled and baked light probes are present in the Scene, an interpolated light probe will be calculated for this object and set as built-in shader uniform variables. Surface shaders use this information automatically. To add light probe contribution to your custom non-surface shaders, use ShadeSH9(worldSpaceNormal) in your vertex or pixel shader.