-
-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4a82a7c
commit 7924cd9
Showing
3 changed files
with
6 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
#version 450 | ||
|
||
uniform vec3 color; | ||
|
||
in vec3 dummy; | ||
out vec4 frag_color[2]; | ||
|
||
void main() { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
#version 450 | ||
|
||
uniform mat4 VP; | ||
|
||
in vec3 pos; | ||
out vec3 dummy; | ||
|
||
void main() { | ||
gl_Position = mul(vec4(pos, 1.0), VP); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
#version 450 | ||
|
||
uniform vec3 color; | ||
|
||
in vec3 dummy; | ||
out vec4 fragColor; | ||
|
||
void main() { | ||
|