Style conventions

This commit is contained in:
Josh Colclough 2023-10-27 18:14:15 +01:00
parent bcc51a2e79
commit f9b3f1a623
3 changed files with 21 additions and 22 deletions

View File

@ -13,8 +13,7 @@ uniform float zoom; // Zoom of the scale.
// NOTE: Maximum number of shader for-loop iterations depend on GPU,
// for example, on RasperryPi for this examply only supports up to 60
const int MAX_ITERATIONS = 48; // Max iterations to do.
const float COLOR_CYCLES = 1; // Number of times the palette repeats.
const float COLOR_CYCLES = 1; // Number of times the color palette repeats.
// Square a complex number
vec2 ComplexSquare(vec2 z)

View File

@ -12,7 +12,7 @@ uniform vec2 offset; // Offset of the scale.
uniform float zoom; // Zoom of the scale.
const int MAX_ITERATIONS = 255; // Max iterations to do.
const float COLOR_CYCLES = 2; // Number of times the palette repeats. Can show higher detail for higher iteration numbers.
const float COLOR_CYCLES = 2; // Number of times the color palette repeats. Can show higher detail for higher iteration numbers.
// Square a complex number
vec2 ComplexSquare(vec2 z)