Premium Only Content

No Game Engine Game Dev: Word Sleuth 035: Shader uniform handling and text color bugs
Streamed on 2024-08-21 (https://www.twitch.tv/thediscouragerofhesitancy)
Game Engines are for sissies!
I started tackling a bug with text color where the guess was dropping, but the new colors weren't showing up on the bounce like before. There were a couple of bookkeeping fixes that I tweaked and then the colors showed as we wanted.
After that I moved on to refactoring Shaders to not use std::unordered_map to cache uniform locations. My original plan was modified when I learned of explicit uniform locations. With that new tidbit, it wasn't too bad to get that up and running. The uniforms are automatically detected at shader embed time, before compile time. It feels much better than hashing strings.
During all these refactorings I introduced a new bug or two. One more with text colors not updating properly when a new level starts, and one where the books on the bookshelf aren't rendering with the right texture. I started diving into the text color issue, but the debugger causes crashes related to setting texture parameters, so we got derailed halfway through the investigation. I suspect it is related to the books not rendering right. I prefer to fix one bug at a time, but my debugger has decided that I should debug the other first. We'll pick up there tomorrow.
-
DVR
Professor Nez
2 hours ago🚨I HAVE RECEIPTS! They’re Sacrificing Americans for Votes 😡
5.81K -
LIVE
The Boomer Effect
3 hours agoGone is the Golden Age of Housing: What went wrong?
16 watching -
1:00:16
Timcast
2 hours agoTHE MOB IS BACK, FBI Busts MASSIVE Sports Betting Racket
133K20 -
2:25:56
Steven Crowder
5 hours agoCandace Just Claimed Trump Killed Charlie
388K461 -
LIVE
Robert Gouveia
3 hours agoNewsom Crushed AGAIN!! NBA Arrests! NEW Pipe Bomber Info! Melania SUED!
477 watching -
59:41
Sean Unpaved
2 hours agoHoops & Handcuffs: FBI's Mafia Takedown in NBA Betting Scandal
13.1K -
LIVE
Side Scrollers Podcast
2 hours ago🔴FIRST EVER RUMBLE SUB-A-THON🔴DAY 4🔴WAKE YOUR ASS UP!
941 watching -
1:07:10
Rebel News
2 hours agoCarney's lacklustre speech, Libs partner with China, How many illegals in Canada? | Rebel Roundup
10.3K2 -
41:55
The Rubin Report
4 hours agoListen to ‘The View’ Crowd Gasp as Whoopi Lies to Their Faces
91.7K47 -
1:41:47
The Mel K Show
3 hours agoMORNINGS WITH MEL K - Cause and Effect: The Intentional Dumbing Down of a Nation - 10-23-25
31.1K3