Amelioration de la compatibiliter
Amelioration des performance Correction de bug Couleur aleatoire de la Grass ajouter
This commit is contained in:
parent
98b7946cc2
commit
e53b56f460
22 changed files with 293 additions and 451 deletions
|
@ -1,8 +0,0 @@
|
|||
#version 330
|
||||
out vec4 fragColor;
|
||||
|
||||
in vec4 color;
|
||||
|
||||
void main(void){
|
||||
fragColor = color;
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
#version 330
|
||||
|
||||
layout (location = 0) in vec3 in_position;
|
||||
layout (location = 1) in vec4 in_color;
|
||||
|
||||
out vec4 color;
|
||||
|
||||
void main(void){
|
||||
color = in_color;
|
||||
gl_Position = ftransform();
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
#version 330
|
||||
out vec4 fragColor;
|
||||
uniform samplerCube cubeMap;
|
||||
|
||||
in vec3 position;
|
||||
|
||||
|
||||
void main(void){
|
||||
fragColor = texture(cubeMap, position);
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
#version 330
|
||||
|
||||
layout (location = 0) in vec3 in_position;
|
||||
|
||||
out vec3 position;
|
||||
out vec3 rotation;
|
||||
|
||||
void main(void){
|
||||
rotation = vec3(0,0,0);
|
||||
position = gl_Vertex.xyz;
|
||||
gl_Position = ftransform();
|
||||
}
|
Binary file not shown.
Before Width: | Height: | Size: 41 KiB |
Binary file not shown.
Before Width: | Height: | Size: 62 KiB |
Binary file not shown.
Before Width: | Height: | Size: 44 KiB |
Binary file not shown.
Before Width: | Height: | Size: 43 KiB |
Binary file not shown.
Before Width: | Height: | Size: 42 KiB |
Binary file not shown.
Before Width: | Height: | Size: 38 KiB |
Reference in a new issue