Files
SDL3CPlusPlus/packages/materialx/libraries/stdlib/genglsl/mx_splitlr_float.glsl
T
2026-01-09 23:21:38 +00:00

7 lines
193 B
GLSL
Executable File

#include "mx_aastep.glsl"
void mx_splitlr_float(float valuel, float valuer, float center, vec2 texcoord, out float result)
{
result = mix(valuel, valuer, mx_aastep(center, texcoord.x));
}