|
| FAutoConsoleVariableRef | CVarMeshSDFAverageCulledCount (TEXT("r.Lumen.DiffuseIndirect.MeshSDF.AverageCulledCount"), GMeshSDFAverageCulledCount, TEXT(""), ECVF_Scalability|ECVF_RenderThreadSafe) |
| |
| FAutoConsoleVariableRef | CVarMeshSDFRadiusThreshold (TEXT("r.Lumen.DiffuseIndirect.MeshSDF.RadiusThreshold"), GMeshSDFRadiusThreshold, TEXT(""), ECVF_Scalability|ECVF_RenderThreadSafe) |
| |
| FAutoConsoleVariableRef | CVarMeshSDFNotCoveredExpandSurfaceScale (TEXT("r.Lumen.DiffuseIndirect.MeshSDF.NotCoveredExpandSurfaceScale"), GMeshSDFNotCoveredExpandSurfaceScale, TEXT("Scales the surface expand used for Mesh SDFs that contain mostly two sided materials (foliage)"), ECVF_Scalability|ECVF_RenderThreadSafe) |
| |
| FAutoConsoleVariableRef | CVarMeshSDFNotCoveredMinStepScale (TEXT("r.Lumen.DiffuseIndirect.MeshSDF.NotCoveredMinStepScale"), GMeshSDFNotCoveredMinStepScale, TEXT("Scales the min step size to improve performance, for Mesh SDFs that contain mostly two sided materials (foliage)"), ECVF_Scalability|ECVF_RenderThreadSafe) |
| |
| FAutoConsoleVariableRef | CVarMeshSDFDitheredTransparencyStepThreshold (TEXT("r.Lumen.DiffuseIndirect.MeshSDF.DitheredTransparencyStepThreshold"), GMeshSDFDitheredTransparencyStepThreshold, TEXT("Per-step stochastic semi-transparency threshold, for tracing users that have dithered transparency enabled, for Mesh SDFs that contain mostly two sided materials (foliage)"), ECVF_Scalability|ECVF_RenderThreadSafe) |
| |
| void | SetupLumenMeshSDFTracingParameters (FRDGBuilder &GraphBuilder, const FScene *Scene, const FViewInfo &View, FLumenMeshSDFTracingParameters &OutParameters) |
| |
| | IMPLEMENT_GLOBAL_SHADER (FCullMeshSDFObjectsForViewCS, "/Engine/Private/Lumen/LumenMeshSDFCulling.usf", "CullMeshSDFObjectsForViewCS", SF_Compute) |
| |
| | IMPLEMENT_GLOBAL_SHADER (FCombineObjectIndexBuffersCS, "/Engine/Private/Lumen/LumenMeshSDFCulling.usf", "CombineObjectIndexBuffersCS", SF_Compute) |
| |
| | IMPLEMENT_GLOBAL_SHADER (FMeshSDFObjectCullVS, "/Engine/Private/Lumen/LumenMeshSDFCulling.usf", "MeshSDFObjectCullVS", SF_Vertex) |
| |
| | IMPLEMENT_GLOBAL_SHADER (FMeshSDFObjectCullPS, "/Engine/Private/Lumen/LumenMeshSDFCulling.usf", "MeshSDFObjectCullPS", SF_Pixel) |
| |
| | IMPLEMENT_GLOBAL_SHADER (FCompactCulledObjectsCS, "/Engine/Private/Lumen/LumenMeshSDFCulling.usf", "CompactCulledObjectsCS", SF_Compute) |
| |
| | IMPLEMENT_GLOBAL_SHADER (FComputeCulledObjectsStartOffsetCS, "/Engine/Private/Lumen/LumenMeshSDFCulling.usf", "ComputeCulledObjectsStartOffsetCS", SF_Compute) |
| |
| void | InitObjectCullingContext (FRDGBuilder &GraphBuilder, uint32 NumCullGridCells, FObjectCullingContext &Context) |
| |
| void | FillGridParameters (FRDGBuilder &GraphBuilder, const FScene *Scene, const FViewInfo &View, const FObjectCullingContext *Context, FLumenMeshSDFGridParameters &OutGridParameters) |
| |
| | IMPLEMENT_GLOBAL_SHADER (FCullHeightfieldObjectsForViewCS, "/Engine/Private/Lumen/LumenMeshSDFCulling.usf", "CullHeightfieldObjectsForViewCS", SF_Compute) |
| |
| void | CombineObjectIndexBuffers (FRDGBuilder &GraphBuilder, const FScene *Scene, const FViewInfo &View, bool bCullMeshSDFObjects, bool bCullHeightfieldObjects, FObjectCullingContext &Context, FRDGBufferRef &CombinedObjectIndexBuffer) |
| |
| void | CullHeightfieldObjectsForView (FRDGBuilder &GraphBuilder, const FScene *Scene, const FViewInfo &View, const FLumenSceneFrameTemporaries &FrameTemporaries, float MaxMeshSDFInfluenceRadius, float CardTraceEndDistanceFromCamera, FRDGBufferRef &NumHeightfieldCulledObjects, FRDGBufferRef &HeightfieldObjectIndexBuffer, FRDGBufferRef &HeightfieldObjectIndirectArguments) |
| |
| void | CullMeshSDFObjectsForView (FRDGBuilder &GraphBuilder, const FScene *Scene, const FViewInfo &View, float MaxMeshSDFInfluenceRadius, float CardTraceEndDistanceFromCamera, FObjectCullingContext &Context) |
| |
| void | CompactCulledObjectArray (FRDGBuilder &GraphBuilder, const FScene *Scene, const FViewInfo &View, FObjectCullingContext &Context, ERDGPassFlags ComputePassFlags) |
| |
| void | CullObjectsToGrid (const FViewInfo &View, const FScene *Scene, const FLumenSceneFrameTemporaries &FrameTemporaries, float MaxMeshSDFInfluenceRadius, float CardTraceEndDistanceFromCamera, int32 GridPixelsPerCellXY, int32 GridSizeZ, FVector ZParams, FIntVector CullGridSize, FRDGBuilder &GraphBuilder, FRDGBufferRef ObjectIndexBuffer, FObjectCullingContext &Context) |
| |
| void | CullMeshObjectsToViewGrid (const FViewInfo &View, const FScene *Scene, const FLumenSceneFrameTemporaries &FrameTemporaries, float MaxMeshSDFInfluenceRadius, float CardTraceEndDistanceFromCamera, int32 GridPixelsPerCellXY, int32 GridSizeZ, FVector ZParams, FRDGBuilder &GraphBuilder, FLumenMeshSDFGridParameters &OutGridParameters, ERDGPassFlags ComputePassFlags) |
| |