RayTracingMeshInstanceConfig.material

public Material material;

Description

The Material the ray tracing instance uses.

This value is optional. If you use ray tracing shaders and don't set a Material, the GPU doesn't execute any code when rays hit an axis-aligned bounding box (AABB) associated with this instance.


Did you find this page useful? Please give it a rating: