enableSubsurfaceByDefault
Gets and sets a boolean to enable the subsurface scattering effect for the SpeedTree asset (affects only SpeedTree v8 assets).
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor
public bool enableSubsurfaceByDefault { get; set; }
Remarks
This setting controls the light scattered out the back side of leaves and other two-sided SpeedTree materials to simulate a translucent surface.
To change this setting for a specific LOD, see SpeedTreeImporter.enableSubsurface and SpeedTreeImporter.enableSettingOverride.