mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-06 00:55:50 +00:00
14 lines
206 B
GLSL
14 lines
206 B
GLSL
|
#version 430 core
|
||
|
|
||
|
layout(location = 0) out vec4 Color;
|
||
|
|
||
|
layout(location = 0) uniform sampler2D diffuseMap;
|
||
|
|
||
|
in vec4 passColor;
|
||
|
in vec2 uv;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
Color = texture(diffuseMap, uv) * passColor;
|
||
|
}
|