Game Dev Digest — Issue #43 - Lighting, Builds, VFX, C#... All That And More!
Tags: gamedev, unity3d, csharp, news
Published: 2020-05-08 11:07:57

###Issue #43 - Lighting, Builds, VFX, C#... All That And More!

![Issue #43 - Lighting, Builds, VFX, C#... All That And More!](https://gamedevdigest.com/assets/social-posts/issue-43.jpg)

Let there be light! Lots of content on lighting this week. Plus, some cool VFX tutorials, and be sure not to miss the Interior Mapping video! If you are more interested in the pure coding side of things, check out the C#, ECS, build pipeline posts, and more!

---

[**Entity Component System for Unity: Getting Started**](https://www.raywenderlich.com/7630142-entity-component-system-for-unity-getting-started)  - In this Unity tutorial you’ll learn how to efficiently leverage the Entity Component System for more performant gameplay code.
[_raywenderlich.com_](https://www.raywenderlich.com/7630142-entity-component-system-for-unity-getting-started)

[**Faster builds with the new Caching Shader Preprocessor (Experimental)**](https://blogs.unity3d.com/2020/05/06/faster-builds-with-the-new-caching-shader-preprocessor-experimental/)  - Shader compilation is a lengthy process that involves several steps. One of the first steps is preprocessing the shader source. Unity 2020.1 beta introduces the Caching Shader Preprocessor, a new custom solution to perform this compilation step. It is up to 25% faster than the platform compilers’ preprocessor, closely follows the C standard, and offers new features.
[_Unity_](https://blogs.unity3d.com/2020/05/06/faster-builds-with-the-new-caching-shader-preprocessor-experimental/)

[**CI/CD with Unity, GitHub Actions, and Fastlane**](https://medium.com/@davidmfinol/ci-cd-with-unity-github-actions-and-fastlane-e7aaa337784)  - Unfortunately, getting a working CI/CD pipeline for a Unity project has not been as easy as I would like. Recently, I’ve had more success with GitHub Actions, so hopefully this guide will help others.
[_David Finol_](https://medium.com/@davidmfinol/ci-cd-with-unity-github-actions-and-fastlane-e7aaa337784)

[**Thread Synchronization Performance**](https://jacksondunstan.com/articles/5522)  - Multi-threading is essential to performance on all modern processors. Using multiple threads brings along with it the challenge of synchronizing data access across those threads. Unity’s job system can do some of this for us, but it certainly doesn’t handle every case. For times when it doesn’t, C# provides us with a bunch of synchronization options. Which are fastest? Today we’ll find out!
[_JacksonDunstan.com_](https://jacksondunstan.com/articles/5522)

[**Unity C# Pattern Matching: Make It Shorter (C# 7.0)**](https://thegamedev.guru/unity-c-sharp/pattern-matching)  - I've been frustrated to see how much useless repetition I had in my C# conditionals and switches, but I knew programmers could do better. In this post, I'll show you how to make your code more concise with Unity C# Pattern Matching (C# 7.0)
[_The Gamedev Guru_](https://thegamedev.guru/unity-c-sharp/pattern-matching)

[**Unity C# Discards: Make It Crystal Clear (C# 7.0)**](https://thegamedev.guru/unity-c-sharp/discards-cs-7-0/)  - In this post, I'll show you how you can make your code more explicit and simpler by using the Unity C# Discards feature (C# 7.0)
[_The Gamedev Guru_](https://thegamedev.guru/unity-c-sharp/discards-cs-7-0/)

[**Hot Examples - Source Code Usage Examples Aggregator**](https://csharp.hotexamples.com/)  - This service was created to help programmers find real examples of using classes and methods as well as documentation. Our system automatically searches, retrieves and ranks examples of source code from more than 1 million opensource projects. A key feature of the service is an opportunity to see examples of using a particular class or method from multiple projects on a single page.
[_hotexamples.com_](https://csharp.hotexamples.com/)

[**Clay Materials**](https://twitter.com/danielsantalla/status/1256781925890625543)  - New #under60sec tutorial here :) Learn to make clay/stop motion materials in Unity3d. It is really simple so you can extend it to fit your needs. Hope it helps!
[_Daniel Santalla_](https://twitter.com/danielsantalla/status/1256781925890625543)

[**Shader effect: Soft "alpha clipping"**](https://gamedevelopersplayground.com/shader-effect-soft-alpha-clipping)  - Short solution to a simple problem I came across. I downloaded a ready made effect from the Asset store and found a gray scale texture with no easing before the edge. Fix faulty textures with some minor shader tweaks!
[_gamedevelopersplayground.com_](https://twitter.com/BonaFyrvall/status/1257997042502246400)

[**NoiseMixer**](https://flogelz.itch.io/noisemixer)  - I often mix textures in PS for fx tests, but it's kinda clunky. Yesterday I made this small app, which can do all of that and a bit more!
[_FLOGELZ_](https://twitter.com/flogelz/status/1256995587246915592)

[**Learn to create AR and VR apps in Unity**](https://blogs.unity3d.com/2020/05/01/learn-to-create-ar-and-vr-apps-with-unity/)  - Designed for creators new to AR and VR development, these comprehensive courses on the Unity Learn platform teach you the skills to build AR and VR apps for a variety of use cases.
[_Unity_](https://blogs.unity3d.com/2020/05/01/learn-to-create-ar-and-vr-apps-with-unity/)

[**How Sine Wave turned Unity game assets into an online workspace for remote teams**](https://blogs.unity3d.com/2020/05/05/how-sine-wave-turned-unity-game-assets-into-an-online-workspace-for-remote-teams/)  - When the global quarantine threatened the launch of their new Unity-based virtual world, Sine Wave rapidly created Breakroom, a 3D social hub for teams that suddenly found themselves working completely from home. Find out how they did it.
[_Unity_](https://blogs.unity3d.com/2020/05/05/how-sine-wave-turned-unity-game-assets-into-an-online-workspace-for-remote-teams/)

[**Awesome Unity3D: State Machines — Effective State Management**](https://medium.com/glassblade/awesome-unity3d-state-machines-effective-state-management-bdbbabbdcb35)  - Without FSMs you need to use plenty of flags in your program, which can lead to many nested “if-else” statements everywhere, leading to a terrifying debugging experience. You do not want to waste your time in this self-made hell.
[_Daniel Tan_](https://medium.com/glassblade/awesome-unity3d-state-machines-effective-state-management-bdbbabbdcb35)

[**Unity Releases**](https://unity3d.com/unity/alpha/2020.2.0a10)  - Unity versions [2020.2.0 Alpha 10](https://unity3d.com/unity/alpha/2020.2.0a10) and [2020.1.0 Beta 8](https://unity3d.com/unity/beta/2020.1.0b8) have been released.
[_Unity_](https://unity3d.com/unity/alpha/2020.2.0a10)

## Videos

[![Creating an Interior Mapping Shader using Unity's Shader Graph - Game Dev Sandbox](https://gamedevdigest.com/assets/images/facb1209833555f19772c095488f0451.png)](https://www.youtube.com/watch?v=dUjNoIxQXAA)
[**Creating an Interior Mapping Shader using Unity's Shader Graph - Game Dev Sandbox**](https://www.youtube.com/watch?v=dUjNoIxQXAA)  - I've been fascinated by technique used on the windows in Marvel's Spider-Man and Forza Horizon 4 so I set out to learn how these games achieved the effect and to see if I could build an Interior Mapping Shader myself using Shader Graph in Unity. Here's how it went...
[_Game Dev Guide_](https://www.youtube.com/watch?v=dUjNoIxQXAA)

[**The Heretic | HDRP lighting features**](https://www.youtube.com/watch?v=cQvW0SdprQE)  - The Heretic was created on stock Unity 2019.3 and takes advantage of recent improvements in Unity’s graphics. It was entirely lit using real-time lights. In this video, we’ll take a look at how these lights work and how they enhance the world of The Heretic.
[_Unity_](https://www.youtube.com/watch?v=cQvW0SdprQE)

[**Realistic Lighting in Unity! (Tutorial)**](https://www.youtube.com/watch?v=0D1i_FEYySo)  - Since my speed level design videos using Unity, I got asked to do a tutorial on lighting, so here it is! We'll gonna learn how to add realistic lighting using HDRP in Unity 2019.3. Will you enjoy? YES you will.
[_Sykoo_](https://www.youtube.com/watch?v=0D1i_FEYySo)

[**Setting up Environment Lighting in Unity 2019.3 with HDRP! (Tutorial)**](https://www.youtube.com/watch?v=OXCB-LKCK_Y&amp;feature=emb_title)  - Let's take a look at how we can set up Environment Lighting in Unity, using the High Definition Render Pipeline, or HDRP for short!
[_Unity_](https://www.youtube.com/watch?v=OXCB-LKCK_Y&amp;feature=emb_title)

[**POLYGON Unity Lighting guide - (LiveStream) by #SyntyStudios : Construction demo.**](https://www.youtube.com/watch?v=SatE5dlog5s)  - In this live steam you can learn some basic lighting in Unity!
[_synty studios_](https://www.youtube.com/watch?v=SatE5dlog5s)

[**How Lighting Improves Your Game's Visuals and Story (Unity)**](https://www.youtube.com/watch?v=FnX5N-ELftA)  - Lighting can vastly improve your game's visuals and story. However, it's principles are rarely applied by indie devs.
[_Cole Chittim_](https://www.youtube.com/watch?v=FnX5N-ELftA)

[**Reflections and Refractions in Unity! – HDRP Tutorial**](https://www.youtube.com/watch?v=Bfdz-ErXq4w)  - In this video, we're going to take a look at Reflections and Refractions in HDRP, the High Definition Render Pipeline in Unity 2019.3!
[_Unity_](https://www.youtube.com/watch?v=Bfdz-ErXq4w)

[**2D Vegetation Wind Movement Shader Graph - Easy Unity Tutorial**](https://www.youtube.com/watch?v=aKzUsxLJ4SU)  - In this video you will learn how to create vegetation wind movement shader graph that can be apply to any sprite in your scene in addition to creating simple script to control the wind in your scene.
[_Binary Lunar_](https://www.youtube.com/watch?v=aKzUsxLJ4SU)

[**Use Grayscale to Optimize your Game Performance and Workflow - Unity Tips and Tricks**](https://www.youtube.com/watch?v=SlAL5HGmB1E)  - In this game dev tutorial I will show how to to easily optimize your unity sprites by shifting colour instead of creating new assets. It's a useful technique that will make creating game objects faster, and also increase performance by reducing memory usage.
[_Lost Relic Games_](https://www.youtube.com/watch?v=SlAL5HGmB1E)

[**Unity VFX Graph - Weapon Effect Tutorial**](https://www.youtube.com/watch?v=H5QZhChfa1I)  - We are going to see how to create cool effects for your Weapons (Swords, Axes, Knives and other objects) with VFX Graph and Shader Graph in Unity. This nice weapon effects use a mesh shader done with SG and a few particles made with VFX Graph.
[_Gabriel Aguiar Prod._](https://www.youtube.com/watch?v=H5QZhChfa1I)

[**Unity3d VFX - How To Use Visual Effect Graph Point Cache Bake Tool To Map Particle Positions?**](https://www.youtube.com/watch?v=hDBWV4seuMA&amp;feature=youtu.be)  - With Visual Effect Graph you can create incredible particle effects and today I like to walk you through a small but powerful tool called "Point Cache Bake Tool" which allows you to bake a mesh or a texture to then assign each particle position by using a map node.
[_Dilmer Valecillos_](https://www.youtube.com/watch?v=hDBWV4seuMA&amp;feature=youtu.be)

[**How to make a 2D OUTLINE in Unity!**](https://www.youtube.com/watch?v=MqpyXhBIRSw)  - In this video we create outline effect using 2D Shader Graph!
[_Brackeys_](https://www.youtube.com/watch?v=MqpyXhBIRSw)

[**UA Tips & Tricks: A View from the Inside with Gram Games, Uken, and Small Giant - Unite Now**](https://www.youtube.com/watch?v=nX-rzs_bn9M)  - Acquiring the right players and leveraging different channels and partners can be hard. In this session, Paivi Putsepp-Seufert, Unity's head of performance marketing, shares her best tips for user acquisition (UA) based on insight from advertisers. She’s joined by other UA leaders to share their success tips.
[_Unity_](https://www.youtube.com/watch?v=nX-rzs_bn9M)

[**How to Create Captivating, Deeply Interactive Mobile AR Games - Unite Now**](https://www.youtube.com/watch?v=1a_ik-uXWo4)  - Join Dan Miller and Phil Chacko as they share the Unity workflows that let you create AR experiences for any environment across devices.
[_Unity_](https://www.youtube.com/watch?v=1a_ik-uXWo4)

[**Using Burst Compiler to Optimize for Android - Unite Now**](https://www.youtube.com/watch?v=WnJV6J-taIM)  - In this session we'll talk about how our partnership with ARM helps bringing the power of the Burst Compiler to Android, enhancing multicore processor performance and power management. You'll learn how Burst grants ahead-of-time compilation of critical C# code to native code and the features it enables.
[_Unity_](https://www.youtube.com/watch?v=WnJV6J-taIM)

[**Saving Game Data in Unity**](https://www.youtube.com/watch?v=8zjd7K_Ga48)  - Learn how to save date in your games in Unity 2019.3!
[_gamesplusjames_](https://www.youtube.com/watch?v=8zjd7K_Ga48)

[**ScriptableObject Events In Unity (C# Tutorial)**](https://www.youtube.com/watch?v=gXD2z_kkAXs)  - In this Unity tutorial we learn how to use ScriptableObject based events in order to create a simple, easy to edit and assign via the Inspector workflow that keeps game logic decoupled and hopefully should prove scalable in the long term.
[_Thousand Ant_](https://www.youtube.com/watch?v=gXD2z_kkAXs)

[**Introducing Unity ArtEngine - Unite Now**](https://www.youtube.com/watch?v=agntVByjfEA)  - Artomatix has joined the Unity family! In this Unite Now session, we will demonstrate powerful 3D material-creation workflows and quality-of-life enhancements made available with AI-assisted artistry.
[_Unity_](https://www.youtube.com/watch?v=agntVByjfEA)

[**C# Job System - Simple Example - Unity Tutorial**](https://www.youtube.com/watch?v=zOgDOShmdQs)  - I'm not sure if I can call this one a tutorial cuz it's just a simple example, but it should be enough to get you started if you've never tried using the Job System.
[_Roundbeargames Choi_](https://www.youtube.com/watch?v=zOgDOShmdQs)

[**A Beginners Guide To Procedural Generation**](https://www.youtube.com/watch?v=yxd8_BHxlmY&amp;feature=emb_title)  - Episode 5 - Unity3D
[_CodingWithRus_](https://www.youtube.com/watch?v=yxd8_BHxlmY&amp;feature=emb_title)

## Assets

[![Humble BIG MUSIC Bundle For Games, Films, And Content Creators](https://gamedevdigest.com/assets/images/edf09a4b-b7bb-4410-8ea6-c675fe8ada60.png)](https://www.humblebundle.com/software/big-music-bundle-for-games-films-and-content-creators-software?partner=unity3dreport)
[**Humble BIG MUSIC Bundle For Games, Films, And Content Creators**](https://www.humblebundle.com/software/big-music-bundle-for-games-films-and-content-creators-software?partner=unity3dreport)  - Add the perfect ambiance to video games, movies, and more with over 8GB of music in different styles and genres! Put the finishing touches on your creations with over 300 different music works in the Big Action Music Bundle 1 & 2, Fantasy Adventure Game Music Pack, Epic Battle Trailers Music Pack, Big Casual & Arcade Game Music Bundle, and more.
[_Humble Bundle_](https://www.humblebundle.com/software/big-music-bundle-for-games-films-and-content-creators-software?partner=unity3dreport) **Affiliate**

[**Unity Performance Checklist for 2020+**](https://thegamedev.guru/unity-performance-checklist/?utm_source=newsletter&amp;utm_medium=email&amp;utm_campaign=perf_checklist&amp;utm_content=gamedevdigest)  - For Game Developers, Who're Sick of Working Hard to Release Games That Get Negative Reviews 
 Make your gameplay mechanics truly playable by learning the secrets behind CPU Optimization, to stop frustrating your players with frequent freezes  Deliver top-notch, high-performing graphics using the GPU Performance Checklist, so you immerse your users in your unique art style  Get your game to load under 5 seconds with the Memory & Loading Times checklist, so your audience doesn't give up on your game
[_The Gamedev Guru_](https://thegamedev.guru/unity-performance-checklist/?utm_source=newsletter&amp;utm_medium=email&amp;utm_campaign=perf_checklist&amp;utm_content=gamedevdigest)

[**JPEG/MP4 Compression PostProcessing Effect for Unity3D**](https://github.com/JanMalitschek/JPEG-MP4-Compression-PostProcessing-Effect-for-Unity3D)  - This package aims to accurately recreate the effect of JPEG/MP4 compression as a PostProcessing Effect.
[_Jan Malitschek_](https://github.com/JanMalitschek/JPEG-MP4-Compression-PostProcessing-Effect-for-Unity3D) *Open Source*

[**UnityEventDebugger**](https://github.com/KevinHagen/UnityEventDebugger)  - Easily inspect callbacks on UnityEvents with UnityEventDebugger, a reflection-based solution to see which methods will be called upon invoking a UnityEvent.
[_Kevin Hagen_](https://github.com/KevinHagen/UnityEventDebugger) *Open Source*

[**HUMBLE BOOK BUNDLE: C# & .NET CORE BY PACKT**](https://www.humblebundle.com/books/c-net-core-packt-books?partner=unity3dreport)  - Get hands-on with ebooks like ASP.NET Core 3 and Angular 9, Hands-On Domain-Driven Design with .NET Core, and Modern App Development with C# 8 and .NET Core 3.0! $1,403 WORTH OF AWESOME STUFF. PAY $1 OR MORE
[_Humble Bundle_](https://www.humblebundle.com/books/c-net-core-packt-books?partner=unity3dreport) **Affiliate**

[**Svelto Entity Component System**](https://github.com/sebas77/Svelto.ECS)  - Real ECS framework for c#. Enables to write encapsulated, decoupled, maintainable, highly efficient, data oriented, cache friendly, multi-threaded (if used with Svelto.Tasks), code without pain. Although the framework is platform agnostic (compatible with c# 7 and .net standard 2.0), it comes with several Unity extensions.
[_Sebastiano Mandalà_](https://github.com/sebas77/Svelto.ECS) *Open Source*

[**UnityAsync**](https://github.com/coryleach/UnityAsync)  - Task and Async Utility Package for Unity. Start co-routines from anywhere.
[_Cory Leach_](https://github.com/coryleach/UnityAsync) *Open Source*

[**HUMBLE BOOK BUNDLE: APPLIED MATH PRODUCTIVITY BY MERCURY LEARNING**](https://www.humblebundle.com/books/applied-math-productivity-mercury-learning-books?partner=unity3dreport)  - Get ebooks like Mathematics for Computer Graphics and Game Programming, Flight Science, The Special Theory of Relativity, Foundations of Physics, and more! $1,104 WORTH OF AWESOME STUFF. PAY $1 OR MORE.
[_Humble Bundle_](https://www.humblebundle.com/books/applied-math-productivity-mercury-learning-books?partner=unity3dreport) **Affiliate**

## Spotlight

[![Len's Island](https://gamedevdigest.com/assets/images/6c8eda60331c2b419fdce3b8aa14f195.png)](https://www.youtube.com/watch?v=J7EbkJQPrf4)
[**Len's Island**](https://www.youtube.com/watch?v=J7EbkJQPrf4)  - We've been hard at work making swords, spears, bows, hammers and lots of other weapons and tools for Len's Island!

_[Follow this and many more devlog videos on their [youtube channel](https://www.youtube.com/user/TheGraphicsFlow/videos?view=0&sort=dd&shelf_id=5)]_
[_Flow Graphics_](https://www.youtube.com/watch?v=J7EbkJQPrf4)



---

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.