mirror of
https://github.com/libretro/RetroArch
synced 2025-02-03 08:54:13 +00:00
15 lines
229 B
GLSL
15 lines
229 B
GLSL
|
#version 310 es
|
||
|
precision mediump float;
|
||
|
layout(location = 0) out vec3 FragColor;
|
||
|
layout(location = 0) flat in vec3 vNormal;
|
||
|
|
||
|
layout(binding = 0, std140) uniform UBO
|
||
|
{
|
||
|
mat4 m;
|
||
|
};
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
FragColor = mat3(m) * vNormal;
|
||
|
}
|