Version: 2023.2

SpeedTreeImporter.enableSubsurfaceByDefault

切换到手册
public bool enableSubsurfaceByDefault ;

描述

Gets and sets a boolean to enable the subsurface scattering effect for the SpeedTree asset (affects only SpeedTree v8 assets).

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.