Premium Only Content
![No Game Engine Game Dev: Word Sleuth 035: Shader uniform handling and text color bugs](https://1a-1791.com/video/s8/1/f/b/H/n/fbHnt.qR4e-small-No-Game-Engine-Game-Dev-Wor.jpg)
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.
-
11:51
Alabama Arsenal
12 hours agoThe Silent Sledgehammer | GQ Armory 8.6BLK Paladin
152 -
2:21:11
Nerdrotic
15 hours ago $32.44 earnedDown the Rabbit Hole with Kurt Metzger | Forbidden Frontier #090
145K25 -
2:41:13
vivafrei
20 hours agoEp. 251: Bogus Social Security Payments? DOGE Lawsduit W's! Maddow Defamation! & MORE! Viva & Barnes
262K292 -
1:19:23
Josh Pate's College Football Show
14 hours ago $4.85 earnedBig Ten Program Rankings | What Is College Football? | Clemson Rage| Stadiums I Haven’t Experienced
72.7K1 -
13:22:09
Vigilant News Network
19 hours agoBombshell Study Reveals Where the COVID Vaccine Deaths Are Hiding | Media Blackout
116K59 -
1:17:59
Sarah Westall
15 hours agoDOGE: Crime & Hysteria bringing the Critics & the Fearful - Plus new CDC/Ukraine Crime w/ Dr Fleming
99.7K14 -
45:39
Survive History
20 hours ago $11.03 earnedCould You Survive in the Shield Wall at the Battle of Hastings?
88.9K7 -
1:50:28
TheDozenPodcast
19 hours agoViolence, Abuse, Jail, Reform: Michael Maisey
119K6 -
1:10:50
Weberz Way
13 hours agoJAIL TIME FOR HOGG?, GOOD BYE DEEP STATE, & LEFTEST PROTEST
79 -
46:08
Vedic compatability astrology
11 hours ago"Coffee & Consciousness: Kingpins with Anya – Kundalini, Face Yoga & Quantum Healing"
23