🎮Dive into the amazing world of game dev and Unreal Engine creations! 🕹️ Whether it's jaw-dropping projects, insightful tips, or industry chatter, we've got you covered.
Disclaimer: This account is not affiliated with Epic Games.
✝️☯️ (24) Sleep deprived artist who listens to k-pop and likes games. (RT heavy, Comments locked due to social anxiety.)
Itch: https://menutowngames.itch.io/
If you like my work be sure to support me:
https://ko-fi.com/elmorethemagician
Alt: // Blend color1 and color2 (50% blend), then blend the result with the average of all three colors
return lerp(lerp(color1, color2, 0.5), (color1 + color2 + color3) / 3.0, 0.5);
Alt: float3 Blend(float3 a, float3 b)
{
return lerp(a, b, 0.5);
}
float3 Average(float3 a, float3 b, float3 c)
{
return (a + b + c) / 3.0;
}
float3 Main(float3 a : COLOR1, float3 b : COLOR2, float3 c : COLOR3) : SV_Target0
{
return lerp(Blend(a, b), Average(a, b, c), 0.5);
}
return Main(color1, color2, color3);
Alt: struct Functions
{
float3 Blend(float3 a, float3 b)
{
return lerp(a, b, 0.5); // Blend 50% of each color
}
float3 Average(float3 a, float3 b, float3 c)
{
return (a + b + c) / 3.0; // Average of all three colors
}
float3 Main(float3 a : COLOR1, float3 b : COLOR2, float3 c : COLOR3) : SV_Target0
{
// Blend the result of Blend(a, b) and Average(a, b, c)
return lerp(Blend(a, b), Average(a, b, c), 0.5);
}
};
Functions f;
return f.Main(color1, color2, color3);
trained as a playwright, game designer
steamcapsule.com
gamedevtools.pro
gamedesignchecklist.com
Check out my Steam Capsule Art bot // @steamcapsule.com