Source

LWJGL Shader Tutorials / src / main / java / com / ra4king / opengl / arcsynthesis / gl33 / chapter8 / example4 / example8.4.frag

#version 330

smooth in vec4 theColor;

uniform vec4 baseColor;

out vec4 outputColor;

void main()
{
	outputColor = theColor * baseColor;
}