From 9b36d712e25fb1d209df848281b9913b61a6ec45 Mon Sep 17 00:00:00 2001 From: JSDurand Date: Sat, 21 Jun 2025 13:32:55 +0800 Subject: init commit A basic window is available. Now we shall try to render texts and some auxiliary functionalities. --- shaders/shader.frag | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 shaders/shader.frag (limited to 'shaders/shader.frag') diff --git a/shaders/shader.frag b/shaders/shader.frag new file mode 100644 index 0000000..7bdb81c --- /dev/null +++ b/shaders/shader.frag @@ -0,0 +1,8 @@ +#version 450 + +layout(location = 0) out vec4 outColor; +layout(location = 0) in vec3 fragmentColor; + +void main() { + outColor = vec4(fragmentColor, 1.0); +} -- cgit v1.2.3-18-g5258