summary refs log tree commit diff stats
path: root/shaders/fill.fragment
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2018-02-13 23:00:10 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2018-02-13 23:00:10 -0500
commit224645d1071c14b4829dbb3ae35870868fcff85a (patch)
treef84f540eee09315eb0a689c523946ffa03f4fea0 /shaders/fill.fragment
parent3df19e45e737a1b9395a9a258e3263e444ebedd7 (diff)
downloadtherapy-224645d1071c14b4829dbb3ae35870868fcff85a.tar.gz
therapy-224645d1071c14b4829dbb3ae35870868fcff85a.tar.bz2
therapy-224645d1071c14b4829dbb3ae35870868fcff85a.zip
Fixed inconsistent rendering failure
The issue appears to have been caused by blending with unset alpha channels.

Also included the re-ordered player character sprite image.

The CMake file has been updated to include linking against some Apple libraries that are usually already included in GLFW3.

refs #1
Diffstat (limited to 'shaders/fill.fragment')
-rw-r--r--shaders/fill.fragment4
1 files changed, 2 insertions, 2 deletions
diff --git a/shaders/fill.fragment b/shaders/fill.fragment index ab7d9c9..81443c4 100644 --- a/shaders/fill.fragment +++ b/shaders/fill.fragment
@@ -1,10 +1,10 @@
1#version 330 core 1#version 330 core
2 2
3out vec3 color; 3out vec4 color;
4 4
5uniform vec3 vecColor; 5uniform vec3 vecColor;
6 6
7void main() 7void main()
8{ 8{
9 color = vecColor; 9 color = vec4(vecColor, 1.0);
10} 10}