Files
MapLibreParticleLab/shaders/background.fragment.glsl
Alex Cristici a650df219d Clean legacy code (#3469)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-05-15 22:53:09 +03:00

15 lines
294 B
GLSL

layout (std140) uniform BackgroundPropsUBO {
highp vec4 u_color;
highp float u_opacity;
lowp float props_pad1;
lowp float props_pad2;
lowp float props_pad3;
};
void main() {
fragColor = u_color * u_opacity;
#ifdef OVERDRAW_INSPECTOR
fragColor = vec4(1.0);
#endif
}