e2r 0.2.0

experimental rendering engine in rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#version 430

in vec3 LightIntensity;

layout( location = 0 ) out vec4 FragColor;

in vec2 OutVertexTexCoord;

uniform sampler2D tex;
    
void main() {
    // FragColor = vec4(LightIntensity, 1.0);
    FragColor = texture2D( tex, OutVertexTexCoord );
    
}