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.
-
2:15:15
vivafrei
22 hours agoEp. 249: Confirmation Hearings RECAP! Canada-U.S. TRADE WAR? Bureaucrats Sue Trump! Viva Barnes Live
174K438 -
4:51:59
MyronGainesX
15 hours agoIRS Auctions Off Tekashi 69's Possessions
198K28 -
DVR
Vigilant News Network
1 day agoRFK Jr. Hearing EXPOSES Corrupt Politicians in Humiliating Scandal | Media Blackout
194K57 -
1:11:40
Josh Pate's College Football Show
14 hours ago $6.17 earnedPerfect CFB Conferences | Big Ohio State Changes | Canceling Spring Games | SEC 2025 Thoughts
73.8K2 -
1:08:07
Bek Lover Podcast
12 hours agoInteresting Times with Bek Lover Podcast
37.8K -
1:51:12
Tate Speech by Andrew Tate
15 hours agoEMERGENCY MEETING EPISODE 105 - UNBURDENED
216K109 -
1:01:18
Tactical Advisor
18 hours agoBuilding a 308 AR10 Live! | Vault Room Live Stream 016
200K20 -
2:17:02
Tundra Tactical
1 day ago $30.57 earnedTundra Nation Live : Shawn Of S2 Armament Joins The Boys
282K29 -
23:22
MYLUNCHBREAK CHANNEL PAGE
2 days agoUnder The Necropolis - Pt 5
218K71 -
54:05
TheGetCanceledPodcast
1 day ago $15.36 earnedThe GCP Ep.11 | Smack White Talks Smack DVD Vs WorldStar, Battle Rap, Universal Hood Pass & More...
209K36