25 lines
809 B
C
25 lines
809 B
C
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
/*=============================================================================
|
|
HairStrandsVoxelization.h: Hair voxelization implementation.
|
|
=============================================================================*/
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "RendererInterface.h"
|
|
#include "RenderGraphResources.h"
|
|
#include "SceneRendering.h"
|
|
|
|
|
|
/// Global enable/disable for hair voxelization
|
|
bool IsHairStrandsVoxelizationEnable(EShaderPlatform ShaderPlatform);
|
|
bool IsHairStrandsForVoxelTransmittanceAndShadowEnable(EShaderPlatform ShaderPlatform);
|
|
|
|
void VoxelizeHairStrands(
|
|
FRDGBuilder& GraphBuilder,
|
|
const class FScene* Scene,
|
|
FViewInfo& View,
|
|
FInstanceCullingManager& InstanceCullingManager,
|
|
const FVector& PreViewStereoCorrection);
|