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.
-
1:09:03
vivafrei
4 hours agoCriminals Are Getting Nervous! Democrats Can't Give Trump Credit! AND MORE!
72.4K23 -
12:56
Dr. Nick Zyrowski
8 days agoFasting Is THE Cure: No Food For 2 Days Is The Perfect Fast! (Here’s Why)
6.3K4 -
LIVE
Badlands Media
17 hours agoMAHA News [10.10]: Cannabis Reform, Kennedy Exposes "Vaccines Saved Lives", An Inconvenient Study
547 watching -
1:51:23
The Quartering
4 hours agoTrump Snub Backfires, Matt Walsh Sounds The Alarm, Candace Owens Theory On Charlie Kirk
104K42 -
LIVE
Owen Shroyer
1 hour agoOwen Report - 10-10-2025 - Qatari Airbase In America Angers Israeli Lobby
1,263 watching -
1:14:53
DeVory Darkins
4 hours ago $14.74 earnedDemocrat Candidate leaves crowd DUMBFOUNDED as Trump scores MAJOR VICTORY
67.7K20 -
1:12:16
Sean Unpaved
4 hours agoTNF Shocker: Giants Stomp Eagles, Cubs Claw a Game 5, Weekend NFL/CFB Best Bets!
29K6 -
1:25:05
HotZone
9 hours ago $3.21 earned5 Signs Terrorists are Plotting a Massive US Strike
17.7K11 -
1:05:42
Dear America
5 hours agoShould Christians Celebrate Halloween?
30.6K16 -
2:03:24
The Culture War with Tim Pool
6 hours agoAntifa Is A Terror Organization, Crackdown Coming As Leftists Defend Violence | The Culture War
179K167