Initial commit: Odin editor client + Kotlin daemon prototype
Native SDL3 editor written in Odin with a piece-table buffer core, backed by a Kotlin/JVM daemon speaking newline-delimited JSON over localhost TCP for Gradle import, Kotlin/Java diagnostics, and heuristic completion/hover/definition/references/rename. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
commit
4a15350860
21 changed files with 8112 additions and 0 deletions
12
client/odin/shaders/text.frag.glsl
Normal file
12
client/odin/shaders/text.frag.glsl
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#version 450
|
||||
|
||||
layout(location = 0) in vec2 v_uv;
|
||||
layout(location = 1) in vec4 v_color;
|
||||
layout(location = 0) out vec4 out_color;
|
||||
|
||||
layout(set = 2, binding = 0) uniform sampler2D u_font;
|
||||
|
||||
void main() {
|
||||
float alpha = texture(u_font, v_uv).r;
|
||||
out_color = vec4(v_color.rgb, v_color.a * alpha);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue