Skip to content

GLSL Shader Shrinker v0.11-alpha

Pre-release
Pre-release
Compare
Choose a tag to compare
@deanthecoder deanthecoder released this 05 Sep 09:46
· 131 commits to main since this release

Features:

  • More post-optimizing code GOLFing 'hints'.
  • More math functions which can have their values precalculated (sin, cos, tan, asin, acos, atan, radians, degrees).
    E,g.
    float segments = 10; float angle = sin(3.14159 * 2.0 / segments);
    simplifies to
    float angle = 0.58778;