fere 0.0.0

A 3D rendering engine focused on simple use and realtime global illumination.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#version 330 core

uniform sampler2D u_tex0;
layout (location = 0) out vec4 io_color;

void main()
{
	vec2 q = gl_FragCoord.xy;
	ivec2 p = ivec2(int(q[0]), int(q[1]));

    vec3 value = texelFetch(u_tex0, p, 0).rgb;
    io_color = vec4(value, 1);
}