Game Dev Digest — Issue #102 - Bigger, Stronger, Faster Performance
Tags: gamedev, unity3d, csharp, news
Published: 2021-07-09 12:47:18

---
title:  Game Dev Digest — Issue #102 - Bigger, Stronger, Faster Performance
published: true
date: 2021-07-09 12:47:18 UTC
tags: gamedev,unity,csharp,news
canonical_url: https://gamedevdigest.com/digests/issue-102-bigger-stronger-faster-performance.html
series: Game Dev Digest - The Newsletter About Unity Game Dev
---

### Issue #102 - Bigger, Stronger, Faster Performance

*This article was originally published on [GameDevDigest.com](https://gamedevdigest.com/digests/issue-102-bigger-stronger-faster-performance.html)*

![Issue #102 - Bigger, Stronger, Faster Performance](https://gamedevdigest.com/assets/social-posts/issue-102.png)

All about maximizing performance this week. Well, not all, there is plenty of other topics covered like animation, Unity 2021.2, shader coding, and much more. Enjoy!

---

[**Unlit Dynamic Decals/Projection**](https://www.ronja-tutorials.com/post/054-unlit-dynamic-decals/?utm_source=pocket_mylist)  - Often when doing VFX you want stuff to stick to the floor. Even when that floor is uneven. Or decals to make existing geometry more interresting, or you want blob shadows on uneven floor, or some other use-cases in the same direction.
[_ronja-tutorials.com_](https://www.ronja-tutorials.com/post/054-unlit-dynamic-decals/?utm_source=pocket_mylist)

[**Noise Variants**](https://catlikecoding.com/unity/tutorials/pseudorandom-noise/noise-variants/)  - Combine multiple octaves of noise to create fractal patterns. Introduce turbulence version of Perlin and value noise. Add an option to create tiling noise. This is the fifth tutorial in a series about pseudorandom noise. It adds fractal noise, turbulence, and tiling.
[_catlikecoding.com_](https://catlikecoding.com/unity/tutorials/pseudorandom-noise/noise-variants/)

[**Raymarched Volumetric Lighting in Unity URP**](https://valeriomarty.medium.com/raymarched-volumetric-lighting-in-unity-urp-e7bc84d31604)  - There are a lot of resources on raymarched volumetric lighting on the internet, but in this article, I am going to show you step by step everything you need to know about my own implementation and my modifications over the resources. This includes not just the basic concept, but how to make it performant with good visual quality, using downsampling, randomized sampling, bilateral blur, and near-depth upsampling.
[_Valerio Marty_](https://valeriomarty.medium.com/raymarched-volumetric-lighting-in-unity-urp-e7bc84d31604)

[**Optimizing performance of Unity games**](https://www.m2h.nl/optimizing-performance-of-unity-games/)  - Optimizing performance of Unity games. Battle tested on 9+ platforms in 13 years of Unity game development. There is an overwhelming amount of optimizations you can make which are impossible to fully cover in this article. Therefore we focus solely on an analysis method you can use, this will inevitably point you to the right optimizations to make for your specific game.
[_m2h.nl_](https://www.m2h.nl/optimizing-performance-of-unity-games/)

[**Array iteration performance in C# — Branching and parallelization**](https://antao-almada.medium.com/array-iteration-performance-in-c-branching-and-parallelization-d0705adbf425)  - Modern CPUs, in a quest for better performance, try to maximize its throughput by executing instructions simultaneously and while waiting for the result of logic tests. They try their best to guess the behavior of our code but, many times, the code has to be adjusted to maximize that potencial.
[_Antão Almada_](https://antao-almada.medium.com/array-iteration-performance-in-c-branching-and-parallelization-d0705adbf425)

[**Cost of exceptions**](https://gunnarpeipman.com/cost-of-exceptions/?utm_source=pocket_mylist)  - It’s hard to notice the effect of exceptions if we measure just one exception but they can be fatal to performance when they appear in loops. Let’s dig a little bit deeper.
[_gunnarpeipman.com_](https://gunnarpeipman.com/cost-of-exceptions/?utm_source=pocket_mylist)

[**Start Profiting From Texture Compression in Unity**](https://thegamedev.guru/unity-gpu-performance/texture-compression-and-formats/)  - In this blog post, you’ll learn what texture compression is, why it is important for your project and how to apply it to improve your GPU and memory performance. (And no, we’re not talking about PNG/JPG formats here)
[_The Gamedev Guru_](https://thegamedev.guru/unity-gpu-performance/texture-compression-and-formats/)

[**Stream content from a remote catalog with Addressables**](https://gamedev-resources.com/stream-content-from-a-remote-catalog-with-addressables/)  - Having the ability to load content into a game without forcing the user to download an update is critical to keeping players engaged. There are a lot of different use cases for this. You might want to swap out some models and textures so that they match the holiday season. Or, you can also use this technique to reduce the initial download time of your game by packaging only a couple of levels and assets.
[_gamedev-resources.com_](https://gamedev-resources.com/stream-content-from-a-remote-catalog-with-addressables/)

[**A Simple GPU-based Drawing App in Unity**](https://bronsonzgeb.com/index.php/2021/07/03/a-simple-gpu-based-drawing-app-in-unity/)  - This week I’m escaping the complicated world of voxels for a bit to do something lighter. We’re building a simple GPU-based drawing app. What does that mean? A drawing app that runs entirely on the GPU using compute shaders. It’ll be just like Photoshop, except without all those complicated features like layers, undo, or a colour picker. Let’s go over the plan.
[_Bronson Zgeb_](https://bronsonzgeb.com/index.php/2021/07/03/a-simple-gpu-based-drawing-app-in-unity/)

[**Behind the scenes: Speeding up Unity workflows**](https://blog.unity.com/technology/behind-the-scenes-speeding-up-unity-workflows)  - Rapid prototyping is a key element of any creative work. In this blog post, learn what we’re doing to optimize the core of the Unity Editor so that you can iterate quickly through the entire lifetime of your productions, from importing assets to building and deploying a playable game.
[_Unity_](https://blog.unity.com/technology/behind-the-scenes-speeding-up-unity-workflows)

[**Discover the tools you need with flexible feature sets in Package Manager**](https://blog.unity.com/technology/discover-the-tools-you-need-with-flexible-feature-sets-in-package-manager)  - To make it easier to accomplish your aims in the Unity Editor, we’ve introduced a concept called “feature sets”. Feature sets contain the packages required to achieve specific outcomes – all guaranteed to work well together, and carefully documented so you can get started quickly.
[_Unity_](https://blog.unity.com/technology/discover-the-tools-you-need-with-flexible-feature-sets-in-package-manager)

[**How To Change Screen Size at Runtime**](https://stuartspixelgames.com/2021/07/07/how-to-change-screen-size-at-runtime-unity/)  - This article shows you how to change the screen size at run time via script, while avoiding the unexpected pitfalls that can occur, as well as other topics.
[_Stuart's Pixel Games_](https://stuartspixelgames.com/2021/07/07/how-to-change-screen-size-at-runtime-unity/)

[**Making a Twitch Chat Overlay in Unity**](https://www.patreon.com/posts/making-twitch-in-40078043)  - If any of you are familiar with my Twitch streams, you know that i have an overlay that spawns little cats for every chatter that run around and respond to when people speak. Since I added that the most requested tutorial is how to set it up, so here we go!
[_Minions Art_](https://www.patreon.com/posts/making-twitch-in-40078043)

[**Introduction to Unity 2D**](https://www.raywenderlich.com/11409307-introduction-to-unity-2d)  - This introductory Unity tutorial will get you up and running with Unity 2D by creating a lunar landing game.
[_raywenderlich.com_](https://www.raywenderlich.com/11409307-introduction-to-unity-2d)

[**Unity 2021.2.0 Beta 3**](https://unity3d.com/unity/beta/2021.2.0b3)  - Unity 2021.2.0 Beta 3 has been released.
[_unity3d.com_](https://unity3d.com/unity/beta/2021.2.0b3)

## Videos

[![A House Built on Sand: Engineering Stable and Reliable AI](https://gamedevdigest.com/assets/images/abe8abdd84af6ad5bba1999fbbadd4e0.png)](https://www.youtube.com/watch?v=OBusUGlnmWI)
[**A House Built on Sand: Engineering Stable and Reliable AI**](https://www.youtube.com/watch?v=OBusUGlnmWI)  - In this 2019 GDC talk, Havok's Ben Sunshine-Hill shows you how to engineer AI systems which remain stable and robust even in the face of changing requirements.
[_GDC_](https://www.youtube.com/watch?v=OBusUGlnmWI&amp;t=8s)

[**Screenshake that doesn't suck**](https://www.youtube.com/watch?v=fn3hIPLbSn8&amp;t=331s)  - How to make nice camera shake in Unity.
[_Jump Trajectory_](https://www.youtube.com/watch?v=fn3hIPLbSn8&amp;t=331s)

[**Volumetric Clouds in Unity 2021.2! (Tutorial in 5 minutes)**](https://www.youtube.com/watch?v=vzG-kT5bik0)  - In this video, we'll take a look at the brand new Volumetric Clouds feature of HDRP (High Definition Render Pipeline) in 12.0, with Unity 2021.2 Beta!
[_Sykoo_](https://www.youtube.com/watch?v=vzG-kT5bik0)

[**Creating a Third Person Camera (Unity Tutorial)**](https://www.youtube.com/watch?v=jiyOZbKRfaY)  - In this Unity game development tutorial we're at how to create a third person camera. We’ll look at how to have the camera orbit around the character, how to zoom in and out, and how we can make the character move in the direction the camera is facing.
[_Ketra Games_](https://www.youtube.com/watch?v=jiyOZbKRfaY)

[**Adding Animations | Blend Trees, Layers, & Animation Rigging - 3rd Person Shooter - Unity Tutorial**](https://www.youtube.com/watch?v=583R9LgRZPA)  - Learn how to add animations to your characters via Mixamo (free characters and animations) and the Animator component. We will learn how to add pre-existing animations and also add dynamic and procedural animations using Unity's Animation Rigging Package._ [You might also like [Mixamo Character Animations in Unity using Timeline](https://www.youtube.com/watch?v=F_Zn-B_8Uh0) by UGuruz]_
[_samyam_](https://www.youtube.com/watch?v=583R9LgRZPA)

## Assets

[![Smash Hit Summer - Asset Store Sale](https://gamedevdigest.com/assets/images/4e097356-a5d9-ee5b-dd99-0aeb773aebe9.jpeg)](https://assetstore.unity.com/summer-sale?aid=1011l8NVc)
[**Smash Hit Summer - Asset Store Sale**](https://assetstore.unity.com/summer-sale?aid=1011l8NVc)  - Over the next seven weeks, Unity is launching a series of weekly sales, each with a unique game development theme. Each week, approximately 150 assets will be on sale for 50% off and the assets included will all be great selections to use when making a game highlighted in the weekly theme.

The top assets from one week will carry over into the next week and new assets will be added. The final two weeks of the sale will feature the top assets from the first five weeks, plus an additional set of our most popular assets.

* Week 1: Low-Poly Game - June 22 - June 28
* Week 2: 2D Game - June 29 - July 5
* [Week 3: 3D Game - July 6 - July 12](https://assetstore.unity.com/summer-sale?aid=1011l8NVc)
* Week 4: Fantasy Game - July 13 - July 19
* Week 5: Sci-Fi Game- July 20 - July 26
* Week 6: Dream Project - July 27 - August 9
[_Unity_](https://assetstore.unity.com/summer-sale?aid=1011l8NVc) **Affiliate**

[**Array2DEditor**](https://github.com/Eldoir/Array2DEditor?utm_source=pocket_mylist)  - Use this if you want to deal with 2D arrays easily within the inspector of Unity.
[_Eldoir_](https://github.com/Eldoir/Array2DEditor?utm_source=pocket_mylist) *Open Source*

[**Unity Editor Toolbox**](https://github.com/arimger/Unity-Editor-Toolbox?utm_source=pocket_mylist)  - Improve usability and clarity of key features in Unity Editor for better workflow!
[_arimger_](https://github.com/arimger/Unity-Editor-Toolbox?utm_source=pocket_mylist) *Open Source*

[**Sound Effects and Audio Bundle**](https://www.humblebundle.com/software/music-sound-effects-for-games-files-content?partner=unity3dreport)  - Visuals start a game, great sound finishes them! When creating your next video or game, don’t forget one of the most important senses for immersion; sound. Make whatever you create magic with this bundle of spectacular music and sound effects. Plus, your purchase will support The Michael J. Fox Foundation for Parkinson's Research, WWF, and a charity of your choice!
[_Humble Bundle_](https://www.humblebundle.com/software/music-sound-effects-for-games-files-content?partner=unity3dreport) **Affiliate**

[**Game Dev Arts MegaPack**](https://www.humblebundle.com/software/game-dev-arts-megapack-software?partner=unity3dreport)  - Make your game truly magic with these awesome developer assets! Want to add that special spark to your next game creation? Pick up the Game Dev Arts Megapack and enjoy software that puts a wealth of icons, assets, UI frames, characters, and much more at your fingertips! Plus, your purchase will support Cancer Research UK, Save the Children, & a charity of your choice!
[_Humble Bundle_](https://www.humblebundle.com/software/game-dev-arts-megapack-software?partner=unity3dreport) **Affiliate**

[**Responsible - Reactive Asynchronous Testing**](https://github.com/sbergen/Responsible?utm_source=pocket_mylist)  - Responsible helps you write maintainable high level asynchronous tests in C#.
[_sbergen_](https://github.com/sbergen/Responsible?utm_source=pocket_mylist) *Open Source*

[**unity-navgen**](https://github.com/idbrii/unity-navgen?utm_source=pocket_mylist)  - Tools for working with Unity's NavMeshComponents and generating navmesh: link generation, mesh cleanup, etc.
[_idbrii_](https://github.com/idbrii/unity-navgen?utm_source=pocket_mylist) *Open Source*

[**Pottery**](https://github.com/vmp1r3/pottery?utm_source=pocket_mylist)  - Pottery is runtime 3D shapes generator similar to lathe.
[_vmp1r3_](https://github.com/vmp1r3/pottery?utm_source=pocket_mylist) *Open Source*

[**Spine 4.0 is here**](http://esotericsoftware.com/blog/Spine-4.0-is-here)  - Spine version 4.0 is now ready for production use! This is our biggest release to date, bringing you lots of new and exciting features, improvements, and bug fixes.
[_Esoteric Software_](http://esotericsoftware.com/blog/Spine-4.0-is-here)

[**Unity Mobile Remote Control**](https://github.com/yasirkula/UnityMobileRemoteControl)  - This is a hobby Unity project that allows controlling a 64-bit Windows PC remotely from a mobile/desktop device. Currently, it allows changing the system's volume and emulating mouse&keyboard.
[_yasirkula_](https://github.com/yasirkula/UnityMobileRemoteControl) *Open Source*

## Spotlight

[![House of Accrual](https://gamedevdigest.com/assets/images/b4f587b5c188341b378b75d1784eb052.png)](https://pennmurtons.itch.io/house-of-accrual)
[**House of Accrual**](https://pennmurtons.itch.io/house-of-accrual)  - House of Accrual is a first person survival horror game, with a focus of combat, puzzles, and exploration.

You are the Vagrant, an out-of-towner whose desperation has led him to the Petosky Estate, in search of its rumoured treasures. The long abandoned mansion seemed like an easy score, but as you wake up bleeding out in the driveway, you realise this house won't give up its riches without a fight.

_[You can play the [alpha demo](https://pennmurtons.itch.io/house-of-accrual) now on itch.io]_
[_PennMurtons_](https://pennmurtons.itch.io/house-of-accrual)



---

You can subscribe to the free weekly newsletter on [GameDevDigest.com](https://gamedevdigest.com)

This post includes affiliate links; I may receive compensation if you purchase products or services from the different links provided in this article.