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:35:15
Man in America
8 hours ago🚨 ALERT: Hospitals in the U.S. Are KILLING Patients… for Their Organs!
40K11 -
2:36:28
I_Came_With_Fire_Podcast
12 hours agoObama's Treason, Trade War: Season Infinity, and Hunter's Pipe Dream
13.3K -
2:52:51
TimcastIRL
5 hours agoObama Referred To DOJ For TREASON, Criminal Investigation, CIVIL WAR!! | Timcast IRL
217K114 -
9:43:32
RalliedLIVE
12 hours ago $6.04 earned10 WINS WITH THE SHOTTY BOYS
100K4 -
1:35:43
Badlands Media
16 hours agoAltered State S3 Ep. 38: Biolabs, Bitcoin & the Epstein Data Vault
52.5K10 -
LIVE
SpartakusLIVE
4 hours agoLAST Stream Until NEXT WEEK || Going to Florida to hang out w/ a SPECIAL Gaming Buddy
273 watching -
10:19
MattMorseTV
1 day ago $11.34 earnedTrump just went SCORCHED EARTH.
70.6K63 -
1:36:49
RiftTV
7 hours agoHow Much is the Government SPYING on You and STEALING Your DATA?! | Almost Serious | Guest: Matt Kim
34.2K4 -
1:31:26
Glenn Greenwald
8 hours agoAaron Maté on More Russiagate Fallout, Protests in Ukraine, and Israel's Strikes on Syria With Special Guests John Solomon, Marta Havryshko, and Joshua Landis | SYSTEM UPDATE #491
118K39 -
1:55:43
Melonie Mac
7 hours agoGo Boom Live Ep 56!
35.5K6