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.
-
17:14
Mrgunsngear
6 hours ago $10.21 earnedUpdate: Current Glocks Discontinued & Glock V Series Is Coming!
28.7K27 -
2:52:54
Barry Cunningham
7 hours agoMUST SEE: PRESIDENT TRUMP NATO PRESSER! AND NEW YORK CITY MAYORAL DEBATE!
52.9K47 -
13:15
Cash Jordan
9 hours ago"INVASION" Mob STRIKES Chicago Jail… FRONTLINE Marines IGNORE Judge, SMASH Illegals
36.1K47 -
4:40:54
SpartakusLIVE
6 hours ago#1 Solo Challenge CHAMPION entertains HERDS of NERDS
26.3K -
4:07:41
Alex Zedra
5 hours agoLIVE! New Game | DeathWatchers
22.8K2 -
2:59:47
Nikko Ortiz
6 hours agoShotguns With A Magazine... |Rumble Live
16.6K -
23:18
Lady Decade
11 hours ago $0.95 earnedThe Diversity Lie Gaming Refuses To Talk About
13.6K8 -
2:41:05
Geeks + Gamers
6 hours agoGeeks+Gamers Play- MARIO KART WORLD
11.2K1 -
5:33:12
Midnight In The Mountainsâ„¢
9 hours agoGaming w/ Midnight | Studio is BACK and SO ARE WE | 3 AWAY FROM 1,500 WILL YOU GET ME THERE?!
6.59K3 -
1:51:13
Glenn Greenwald
10 hours agoTucker Carlson Speaks at Turning Point, Prompting Cheers and Controversy; More Evidence of Israeli Atrocities Amid Fragile Ceasefire; Tommy Robinson Submits to Re-Education in Israel | SYSTEM UPDATE #536
107K108