untextured_object.frag 193 B

123456789101112
  1. in vec4 color;
  2. out vec4 FragColor;
  3. vec3 getLightFactor(float specMapValue);
  4. void main(void)
  5. {
  6. vec3 LightFactor = getLightFactor(1.);
  7. FragColor = vec4(color.xyz * LightFactor, 1.);
  8. }