r.RayTracing.CompileMaterialAHS
r.RayTracing.CompileMaterialAHS is a console variable in Unreal Engine 5 (UE5). See what r.RayTracing.CompileMaterialAHS does, its values, and how to use this cvar in the Unreal console below.
Category: Renderer · Namespace:
rHelp
0: skip compilation of any-hit shaders for materials (useful if alpha masked or translucent materials are not needed) 1: compile any hit shaders for all ray tracing materials (default)
Usage
Unreal console (open with ~)
> r.RayTracing.CompileMaterialAHS 1Console variables take a value. Replace 1 with the setting you need. Run it with no value to print the current one.
Related in r
r.RayTracing.AmbientOcclusion.EnableMaterialsVarr.RayTracing.AmbientOcclusion.EnableTwoSidedGeometryVarr.RayTracing.AmbientOcclusion.SamplesPerPixelVarr.RayTracing.AMDHitTokenVarr.RayTracing.AsyncBuildVarr.RayTracing.AutoInstanceVarr.RayTracing.CompileMaterialCHSVarr.RayTracing.CullingVarr.RayTracing.Culling.AngleVarr.RayTracing.Culling.PerInstanceVarr.RayTracing.Culling.RadiusVarr.RayTracing.Culling.UseGroupIdsVar