Version: 2022.3
言語: 日本語
Experimental: this API is experimental and might be changed or removed in the future.

RayTracingSubMeshFlagsConfig.opaqueMaterials

マニュアルに切り替える

説明

The corresponding RayTracingSubMeshFlags value for opaque Materials.

To maximize ray tracing performance on the GPU, RayTracingSubMeshFlags.Enabled combined with RayTracingSubMeshFlags.ClosestHitOnly is recommended. This flags combination will ensure that any hit shaders are not invoked during acceleration structure traversal when rays hit opaque geometries.

See Also: RayTracingAccelerationStructure.CullInstances.