diff options
| author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-02-13 23:00:10 -0500 |
|---|---|---|
| committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-02-13 23:00:10 -0500 |
| commit | 224645d1071c14b4829dbb3ae35870868fcff85a (patch) | |
| tree | f84f540eee09315eb0a689c523946ffa03f4fea0 /shaders/fill.fragment | |
| parent | 3df19e45e737a1b9395a9a258e3263e444ebedd7 (diff) | |
| download | therapy-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.fragment | 4 |
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 | ||
| 3 | out vec3 color; | 3 | out vec4 color; |
| 4 | 4 | ||
| 5 | uniform vec3 vecColor; | 5 | uniform vec3 vecColor; |
| 6 | 6 | ||
| 7 | void main() | 7 | void main() |
| 8 | { | 8 | { |
| 9 | color = vecColor; | 9 | color = vec4(vecColor, 1.0); |
| 10 | } | 10 | } |
