Files
UnrealEngine/Engine/Shaders/Private/MissingShaderPixelShader.usf
2025-05-18 13:04:45 +08:00

22 lines
609 B
HLSL

// Copyright Epic Games, Inc. All Rights Reserved.
/*=============================================================================
MissingShaderPixelShader.usf: Outputs the wanted mips.
=============================================================================*/
#include "Common.ush"
#include "DebugViewModeCommon.ush"
// This returns a check board shader. Usefull to figure out that it has maximum variance.
EARLYDEPTHSTENCIL
void Main(
in FDebugPSIn DebugInputs,
out float4 OutColor : SV_Target0
)
{
OutColor = RETURN_COLOR(float4(UNDEFINED_VALUE, UNDEFINED_VALUE, UNDEFINED_VALUE, .25f));
}