Search:
Login
Preferences
Help/Guide
About Trac
Register
Wiki
Timeline
Roadmap
Browse Source
View Tickets
Search
Context Navigation
←
Previous Change
Next Change
→
Changeset
8b7cfcf
in opengl-game for
test.frag
View differences
inline
side by side
Show
lines around each change
Show the changes in full context
Ignore:
Blank lines
Case changes
White space changes
Timestamp:
Aug 5, 2017, 2:24:43 AM (
8 years
ago)
Author:
Dmitry Portnoy <dmitry.portnoy@…>
Branches:
feature/imgui-sdl
,
master
,
points-test
Children:
d0b9596
Parents:
c40990d
Message:
Allow each vertex to have its own color
File:
1 edited
test.frag
(modified)
(
1 diff
)
Legend:
Unmodified
Added
Removed
test.frag
rc40990d
r8b7cfcf
1
1
#version 410
2
2
3
//uniform vec4 inputC
olor;
4
out vec4 frag
C
olor;
3
in vec3 c
olor;
4
out vec4 frag
_c
olor;
5
5
6
6
void main() {
7
//fragColor = inputColor;
8
fragColor = vec4(0.5, 0.0, 0.5, 1.0);
7
frag_color = vec4(color, 1.0);
9
8
}
Note:
See
TracChangeset
for help on using the changeset viewer.
Download in other formats:
Unified Diff
Zip Archive