Adds plugins

This commit is contained in:
2021-11-18 15:24:24 +01:00
parent 748b0804b8
commit b94590ab4f
529 changed files with 10429 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
/* Copyright (C) 2021 Hugo ATTAL - All Rights Reserved
* This plugin is downloadable from the Unreal Engine Marketplace
*/
#include "lib/Shapes.usf"
struct DarkerUIPanel
{
static float4 ComputePane(float2 PixelSize, float2 UVs, float3 BackgroundColor, float3 BorderColor)
{
const float2 Location = UVs * PixelSize;
const float3 Color = lerp(
BorderColor, BackgroundColor,
DarkerUIShapes::IsInRectangle(Location, float2(1, 1), PixelSize - float2(1, 1)));
return float4(Color, 1.0f);
}
};
/*
#include "/DarkerNodes/Panel.usf"
return DarkerUIPanel::ComputePane(PixelSize, UVs, BackgroundColor, BorderColor);
*/