Some checks failed
My Build All / build_windows (push) Has been cancelled
My Build All / build_linux_portable (push) Has been cancelled
My Build All / build_linux_appimage (push) Has been cancelled
My Build All / build_macos (push) Has been cancelled
My Build All / Publish release assets (push) Has been cancelled
Shellcheck / Shellcheck (push) Has been cancelled
12 lines
260 B
GLSL
12 lines
260 B
GLSL
#version 110
|
|
|
|
uniform vec4 uniform_color;
|
|
uniform float emission_factor;
|
|
|
|
// x = tainted, y = specular;
|
|
varying vec2 intensity;
|
|
|
|
void main()
|
|
{
|
|
gl_FragColor = vec4(vec3(intensity.y) + uniform_color.rgb * (intensity.x + emission_factor), uniform_color.a);
|
|
}
|