OpenGL port of https://github.com/jeschke/water-wave-packets, presented at SIGGRAPH 2017.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
116 B
14 lines
116 B
7 years ago
|
#version 410
|
||
|
|
||
|
in Attribs {
|
||
|
vec3 pos;
|
||
|
} In;
|
||
|
|
||
|
out vec4 Color;
|
||
|
|
||
|
void main(void)
|
||
|
{
|
||
|
Color = vec4(In.pos, 1.);
|
||
|
}
|
||
|
|