mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-12-02 00:32:24 +08:00
11 lines
176 B
GLSL
11 lines
176 B
GLSL
|
#version 440
|
||
|
|
||
|
layout(location = 0) out vec4 fragColor;
|
||
|
|
||
|
layout(location = 1) in vec3 in_normal;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
fragColor = vec4((normalize(in_normal) + 1.0) / 2.0, 1.0);
|
||
|
}
|