mirror of
https://github.com/Linloir/SceneEditor.git
synced 2025-12-17 15:38:11 +08:00
15 lines
343 B
GLSL
15 lines
343 B
GLSL
#version 430 core
|
|
out vec4 FragColor;
|
|
|
|
in vec2 TexCoords;
|
|
|
|
uniform sampler2D texture_diffuse1;
|
|
uniform sampler2D texture_specular1;
|
|
uniform vec3 lightColor;
|
|
|
|
void main()
|
|
{
|
|
FragColor = texture(texture_specular1, TexCoords);
|
|
FragColor = texture(texture_diffuse1, TexCoords);
|
|
FragColor = vec4(FragColor * vec4(lightColor,1.0f));
|
|
} |