14 lines
289 B
GLSL
14 lines
289 B
GLSL
/* Auteur : Farès BELHADJ (amsi@up8.edu) */
|
|
|
|
#version 330
|
|
|
|
uniform float delta_temps;
|
|
uniform sampler2D tex0;
|
|
uniform sampler2D tex1;
|
|
|
|
in vec2 vsoTexCoord;
|
|
out vec4 fragColor;
|
|
|
|
void main(void) {
|
|
fragColor = mix(texture(tex0, vsoTexCoord), texture(tex1, vsoTexCoord), delta_temps);
|
|
}
|