diff options
author | rtk0c <[email protected]> | 2022-06-09 23:20:33 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2022-06-09 23:20:33 -0700 |
commit | ab81521707d6ffa3f5d01ad315c0070b54bf468a (patch) | |
tree | e9d19a27a9266962b87ae73576bfa5232ed705b6 /assets/.stationary/Shaders | |
parent | 3acd929a28c268a52f7799ea3db1ad4a01790fec (diff) | |
parent | e3e848ac4da1c2ae59d93e62da8ef6f87b3452cd (diff) |
Changeset: 68
Diffstat (limited to 'assets/.stationary/Shaders')
-rw-r--r-- | assets/.stationary/Shaders/SimpleLine.glsl | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/assets/.stationary/Shaders/SimpleLine.glsl b/assets/.stationary/Shaders/SimpleLine.glsl new file mode 100644 index 0000000..60c23d4 --- /dev/null +++ b/assets/.stationary/Shaders/SimpleLine.glsl @@ -0,0 +1,20 @@ +#type vertex +#version 330 core + +layout(location = 0) in vec3 pos; + +// Autofill uniforms +uniform mat4 transformation; + +void main() { + gl_Position = transformation * vec4(pos, 1.0); +} + +#type fragment +#version 330 core + +out vec4 fragColor; + +void main() { + fragColor = vec4(1.0, 1.0, 1.0, 1.0); +} |