f100a59688
And resolve conflicts
18 lines
349 B
GLSL
18 lines
349 B
GLSL
#version 110
|
|
|
|
uniform vec4 uniform_color;
|
|
uniform float emission_factor;
|
|
|
|
// x = tainted, y = specular;
|
|
varying vec2 intensity;
|
|
|
|
varying float clipping_planes_dot;
|
|
|
|
void main()
|
|
{
|
|
if (clipping_planes_dot < 0.0)
|
|
discard;
|
|
|
|
gl_FragColor = vec4(vec3(intensity.y) + uniform_color.rgb * (intensity.x + emission_factor), uniform_color.a);
|
|
}
|