enigma-3d 0.2.9

A 3D Rendering Engine with a focus on simplicity and ease of use. Far from feature complete and not recommended for production use.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#version 450 core

in vec2 TEXCOORD;

out vec4 color;

uniform sampler2D scene;
uniform sampler2D bloomBlur;

void main() {
    vec4 sceneColor = texture(scene, TEXCOORD);
    vec4 bloomColor = texture(bloomBlur, TEXCOORD);

    // Combine the scene with the bloom effect
    color = sceneColor + bloomColor;
}