This website requires JavaScript.
Explore
Help
Sign in
nek0
/
renderer-tutorial
Watch
1
Star
0
Fork
You've already forked renderer-tutorial
0
Code
Issues
Pull requests
Releases
Wiki
Activity
5390c2c57d
renderer-tutorial
/
res
/
shaders
/
frag.shader
11 lines
94 B
Text
Raw
Normal View
History
Unescape
Escape
finished episode 8
2020-05-17 08:59:15 +00:00
#version 330 core
out vec4 color;
add uniform to shader
2020-05-17 11:21:06 +00:00
uniform vec4 u_color;
finished episode 8
2020-05-17 08:59:15 +00:00
void main()
{
add uniform to shader
2020-05-17 11:21:06 +00:00
color = u_color;
finished episode 8
2020-05-17 08:59:15 +00:00
}
Reference in a new issue
Copy permalink