- Forked from Godot Engine 4.7-dev (MIT License) - Rebranded to AeThex Engine with cyan/purple theme - Added AI-powered development assistant module - Integrated Claude API for code completion & error fixing - Custom hexagon logo and branding - Multi-platform CI/CD (Windows, Linux, macOS) - Built Linux editor binary (151MB) - Complete source code with all customizations Tech Stack: - C++ game engine core - AI Module: Claude 3.5 Sonnet integration - Build: SCons, 14K+ source files - License: MIT (Godot) + Custom (AeThex features) Ready for Windows build via GitHub Actions!
39 lines
621 B
GLSL
39 lines
621 B
GLSL
/* clang-format off */
|
|
#[modes]
|
|
|
|
mode_default =
|
|
|
|
#[specializations]
|
|
|
|
USE_EXTERNAL_SAMPLER = false
|
|
|
|
#[vertex]
|
|
|
|
layout(location = 0) in vec2 vertex_attrib;
|
|
|
|
out vec2 uv_interp;
|
|
|
|
|
|
void main() {
|
|
uv_interp = vertex_attrib * 0.5 + 0.5;
|
|
gl_Position = vec4(vertex_attrib, 1.0, 1.0);
|
|
}
|
|
|
|
/* clang-format off */
|
|
#[fragment]
|
|
|
|
layout(location = 0) out vec4 frag_color;
|
|
in vec2 uv_interp;
|
|
|
|
/* clang-format on */
|
|
#ifdef USE_EXTERNAL_SAMPLER
|
|
uniform samplerExternalOES sourceFeed; // texunit:0
|
|
#else
|
|
uniform sampler2D sourceFeed; // texunit:0
|
|
#endif
|
|
|
|
void main() {
|
|
vec4 color = texture(sourceFeed, uv_interp);
|
|
|
|
frag_color = color;
|
|
}
|