Version: 2022.2

Terrain.enableHeightmapRayTracing

切换到手册
public bool enableHeightmapRayTracing ;

描述

When this options is enabled, Terrain heightmap geometries will be added in acceleration structures used for Ray Tracing.

Use RayTracingAccelerationStructure.CullInstances function to add Terrain heightmap geometries to the acceleration structure.

See Also: RayTracingAccelerationStructure, SystemInfo.supportsRayTracing.