Get the latest tech news

15 Years of Shader Minification


How do demosceners create complex computer animations in just a few kilobytes? One of our secret weapons is Shader Minifier, a tool that minifies GLSL code. Over the years, it has evolved to pack more data into tiny executables, pushing the boundaries of what's possible. In this blog post, we'll go through its evolution.

XO by Nuance (4kB)In 2010, I noticed a trend in the demoscene: creators were producing impressive 4k intros, but the process was incredibly manual and tedious. My goal was to automate the most boring tasks: removing unnecessary spaces and comments, and renaming variables to a single letter. In case you wonder about the size regression in version 1.0.5: at that time, we lacked proper tests for compression, so it went unnoticed (it was something related to renaming heuristics).

Get the Android app

Or read this on Hacker News

Read more on:

Photo of years

years

Photo of Shader Minification

Shader Minification

Related news:

News photo

Google Updating Its 'G' Icon For the First Time In 10 Years

News photo

Republicans Try to Cram Ban on AI Regulation Into Budget Reconciliation Bill | Republicans try to use the Budget Reconciliation bill to stop states from regulating AI entirely for 10 years.

News photo

Google updating its ‘G’ icon for the first time in 10 years