10 lines
149 B
GLSL
10 lines
149 B
GLSL
#version 330
|
|
|
|
in float intensite_eclairage;
|
|
out vec4 fragColor;
|
|
|
|
uniform vec4 couleur;
|
|
|
|
void main() {
|
|
fragColor = intensite_eclairage * couleur;
|
|
}
|