Shaders - Optimizing 3D Games in GameMaker
Optimizing 3D games in GameMaker isn't just about enabling a few settings and drawing things in a certain way. You can also tweak your shaders to get more or less mileage out of them! Unfortunately there's no one-size-fits-all solution here; especially when it comes to shaders, there's not a ton of changes you can make that will give you a noticeable performance boost in all games. But looking closely at how the shaders work internally can at least set you on the right path! I'll be running a lot of these tests on a Raspberry Pi. If you don't have one of those, don't worry; GameMaker games operate pretty much the same on them as it does on a desktop PC, performance bottlenecks notwithstanding. The only thing I'm going to be using it for is comparing performance on different devices, and using it to track down performance bottlenecks on weaker devices. In this case, you may notice that being smart about matrix use isn't quite as good about boosting performance as it is on my desktop computer, mainly because the Pi has a considerably weaker GPU and will bottleneck in different places than a desktop computer. All the same, if game development on a Raspberry Pi is something that interests you, I've made a video on that: https://youtu.be/OH6LskFeD8Q Here's the repository where I'll be putting the demo code: https://github.com/DragoniteSpam-GameMaker-Tutorials/3DOptimizationDemos The changes made in this video are on the optimization-matrices branch. https://github.com/DragoniteSpam-GameMaker-Tutorials/3DOptimizationDemos/tree/optimization-culling 3D optimization playlist: https://www.youtube.com/playlist?list=PL_hT--4HOvrf_CJSA7fVU1tkjGVv5Sq2t The thumbnail icon is a combination of: optimization by IconPai from the Noun Project Time by libertetstudio from the Noun Project #GameMaker3D #GameMaker3DOptimization #GameMakerShaders - - - - - I've now made that Patreon: https://www.patreon.com/wizardragon That promised social media link spam. https://twitter.com/DragoniteSpam Transition / idle music is by my old friend Kamex: https://www.youtube.com/user/GreatGabite/about Rate, comment, subscribe, watch more, enjoy!
Download
0 formatsNo download links available.