# enableSubsurfaceByDefault

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

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
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](/engine/6000.7/script-reference/unityeditor/speedtreeimporter/enablesubsurface.md) and [SpeedTreeImporter.enableSettingOverride](/engine/6000.7/script-reference/unityeditor/speedtreeimporter/enablesettingoverride.md).
