Create basic GPU fractal renderer

This commit is contained in:
2025-01-17 14:32:07 +00:00
commit b13d307754
4 changed files with 655 additions and 0 deletions

17
vert_shader.glsl Normal file
View File

@@ -0,0 +1,17 @@
/*
* Copyright (c) Camden Dixie O'Brien
* SPDX-License-Identifier: AGPL-3.0-only
*/
#version 450
vec2 positions[4] = vec2[](
vec2(-1.0, -1.0),
vec2( 1.0, -1.0),
vec2(-1.0, 1.0),
vec2( 1.0, 1.0)
);
void main() {
gl_Position = vec4(positions[gl_VertexIndex], 0.0, 1.0);
}