diff options
author | Matthew Kosarek <matthew.kosarek@vention.cc> | 2021-02-23 19:39:16 -0500 |
---|---|---|
committer | Matthew Kosarek <matthew.kosarek@vention.cc> | 2021-02-23 19:39:16 -0500 |
commit | f0d1398b0d1b1a7c5bd1d4e0b3488b7f1aa74364 (patch) | |
tree | 4279b063052fb71ef5ff34a2f2f93d5c7b870b98 /frontend/_rigidbody/shaders | |
parent | ece2b67aa689aee0b881bac17a62c16e0469bc56 (diff) |
Big rework of the directory structure to make it more orderly for my brain
Diffstat (limited to 'frontend/_rigidbody/shaders')
-rw-r--r-- | frontend/_rigidbody/shaders/orthographic.frag | 5 | ||||
-rw-r--r-- | frontend/_rigidbody/shaders/orthographic.vert | 13 |
2 files changed, 0 insertions, 18 deletions
diff --git a/frontend/_rigidbody/shaders/orthographic.frag b/frontend/_rigidbody/shaders/orthographic.frag deleted file mode 100644 index 84b6b2e..0000000 --- a/frontend/_rigidbody/shaders/orthographic.frag +++ /dev/null @@ -1,5 +0,0 @@ -varying lowp vec4 VertexColor; - -void main() { - gl_FragColor = VertexColor; -}
\ No newline at end of file diff --git a/frontend/_rigidbody/shaders/orthographic.vert b/frontend/_rigidbody/shaders/orthographic.vert deleted file mode 100644 index 0356f9c..0000000 --- a/frontend/_rigidbody/shaders/orthographic.vert +++ /dev/null @@ -1,13 +0,0 @@ -attribute vec2 position; -attribute vec4 color; - -uniform mat4 projection; -uniform mat4 model; - -varying lowp vec4 VertexColor; - -void main() { - vec4 fragmentPosition = projection * model * vec4(position, 1, 1); - gl_Position = fragmentPosition; - VertexColor = color; -}
\ No newline at end of file |