я украл из экспы 2.0, GaussianBlur но у меня что то не очень оно блюриться, а просто спамит ошибкой OpenGL Error: 1282 (Invalid operation)
public static void drawRoundedBlur(float x, float y, float width, float height, int color) {
float radius = Math.min(width, height) * 0.15f;
drawRoundedRect(x, y, width, height, new Vector4f(2,2,2,2), ColorUtils.rgba(24, 24, 24, 133));
GaussianBlur.blur(() -> {
drawRoundedRect(x, y, width, height, new Vector4f(2,2,2,2), ColorUtils.rgba(24, 24, 24, 150));
}, radius, 1.25f);
}