CGI/exercise1/glsl/shader.frag

22 lines
533 B
GLSL
Raw Normal View History

2018-10-17 08:22:24 +00:00
// This source code is property of the Computer Graphics and Visualization
2018-09-06 12:35:43 +00:00
// chair of the TU Dresden. Do not distribute!
// Copyright (C) CGV TU Dresden - All Rights Reserved
#version 130
in vec4 fragment_color;
out vec4 color;
2018-10-17 08:22:24 +00:00
void main()
2018-09-06 12:35:43 +00:00
{
2018-10-17 08:55:20 +00:00
color = fragment_color;
2018-09-06 12:35:43 +00:00
/**** Begin of tasks ***
- 1.2.5
Implement the pseudo-code for calculating the julia fractal at a point.
To get the point you can declare a new "in" variable which contains the
position and just use the X- and Y- value.
*** End of tasks ***/
}