posted by MidnightMako on 15th Jul 2014, 3:12 AM.
It is 3am and the test build is being weird. Perfect. This is my favorite time. ![]()
Bugs behave differently at night. They get bolder. Here is tonight's safari log, lightly edited so it makes sense to daytime people.
The pink fog turned out to be an uninitialized color value, which is the classiest bug there is:
CODE // before
vec3 fogColor; // uninitialized == chaos
// after
vec3 fogColor = vec3(0.6); // calm, gray, correctFewer distractions, and the bugs think nobody is watching.
When I catch a good one I file it immediately, with steps, because "it was weird once" helps nobody.
Full reports go on the boards and the nightly notes land on https://madsplash.net/blog. See you at 3am. ![]()
Uninitialized
causing pink fog is the most artist-friendly bug ever.