Relative Content

Tag Archive for c++openglglslshader

Passing complex structure to Fragment Shader

I am generating some geometries, in this case the Mandelbrot Fractal. It is calculated entirely in the fragment shader. And there is a structure MandelbrotBase, containing different settings, like window size, position, zoom etc. Right now it is only part of Fragment Shader.