enableHeightmapRayTracing
When this options is enabled, Terrain heightmap geometries will be added in acceleration structures used for Ray Tracing.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.TerrainModule
public bool enableHeightmapRayTracing { get; set; }
Remarks
Use RayTracingAccelerationStructure.CullInstances function to add Terrain heightmap geometries to the acceleration structure.
Additional Resources: RayTracingAccelerationStructure, SystemInfo.supportsRayTracing.