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.
-
LIVE
SpartakusLIVE
3 hours agoSHAVING my BEARD on stream TONIGHT || Chiseled JAWLINE, peak MASCULINITY, and SUAVE FRESH FACE
175 watching -
10:10
Nicholas Bowling
1 hour agoWe Preached the Gospel to College Students… Then THEY Preached Too | UT Recap
21 -
1:52:01
TheRyanMcMillanShow
4 hours agoTrigger Happy 2: Heavy and Deep - RMS 035
221 -
DVR
Edge of Wonder
5 hours agoPresidential Hauntings, Bizarre Food & Independence Day Mandela Effect: EOW July 4th Party!
8.46K1 -
1:55:32
Nick Freitas
2 hours agoDo We Need a New Declaration of Independence?
3055 -
18:11
Blackstone Griddles
3 hours agoEpisode 3 | Breakfast, Lunch, and Dinner
211 -
38:28
The Lou Holtz Show
3 hours agoThe Lou Holtz Show S2 EP13 | Chris Zorich on Grit, Love & Building a Legacy at Notre Dame #podcast
124 -
6:25
Melonie Mac
5 hours agoTomb Raider is Struggling Confirmed
7.87K6 -
8:42
VSOGunChannel
5 hours ago $0.36 earnedOne Big Bloated Bill Leaves 2nd Amendment Open for Future Attack
8.18K4 -
2:10:37
WickedVirtue
6 hours agoWE'RE BACK! New Red Dead Online DLC, Happy 4th Of July -Wicked's World #63
10.3K1