mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-01-05 19:19:43 -06:00
12 lines
353 B
HLSL
12 lines
353 B
HLSL
#include "imgui_common.hlsli"
|
|
|
|
float4 main(in Interpolators interpolators) : SV_Target
|
|
{
|
|
float4 color = interpolators.Color;
|
|
|
|
if (g_PushConstants.Texture2DDescriptorIndex != 0)
|
|
color *= g_Texture2DDescriptorHeap[g_PushConstants.Texture2DDescriptorIndex].Sample(g_SamplerDescriptorHeap[0], interpolators.UV);
|
|
|
|
return color;
|
|
}
|