Files
UnrealEngine/Engine/Shaders/Private/HairStrands/HairStrandsDeepShadowCommonStruct.ush
2025-05-18 13:04:45 +08:00

12 lines
394 B
HLSL

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
struct FDeepShadowViewInfo
{
float4x4 TranslatedWorldToClipScaledBiased; // Has the shadow atlas tile scale bias baked in
float4x4 TranslatedWorldToClip;
float4 AtlasScaleBias; // Scale/bias for transforming UV coordinates into the shadow atlas tile of this shadow view.
float3 ViewForward;
float MinRadiusAtDepth1;
};