Sponsored By

Game Dev Digest Issue #44 - The Heretic, Profiling, ML, Monetization, And Much More!

Game Dev Digest Issue #44 - The Heretic, Profiling, ML, Monetization, And Much More! The latest from the free weekly Unity3d/gamedev newsletter.

Mike Marrone, Blogger

May 15, 2020

12 Min Read
Game Developer logo in a gray background | Game Developer

*This post was originally published on GameDevDigest.com

It's Friday, and that means another Digest! I know you are excited, but keep your pants on. This week sees Unity's ML-Agents reach a 1.0 milestone, so no better time to start tinkering with your game AI. Below you will find tutorials on ML as well as assets for behaviour trees and more.

If you are looking to tune your game for performance, there is some great content this week. As well as optimizing for user acquisition, monetization and more.

For the graphically inclined, there is plenty to check out including the release of Unity's Heretic Digital Human project. Enjoy!

How 3D Game Rendering Works: Texturing - Bilinear, Trilinear, Anisotropic Filtering & More: What Does It Mean? [not Unity specific, but still a good read.]
techspot.com

Making of The Heretic: Environment Art - In this post, I will explain the creative process behind some of the environment art in The Heretic project.
Unity

Faking Baking – Shader Position Arrays - In this mini-tutorial I’m going to cover a technique for faking baked lighting in interior or underground stylized scenes. It acts as an alternative to realtime GI or fully baked lights. The main topic covered in this tutorial will be using position arrays in shaders.
Inresin Tutorials

Epic Online Services Launched - Epic Online Services enable you to launch, operate, and scale great games with the same services Epic uses for its own games, plus many additional services developed for the worldwide gaming community. Epic Online Services are available in a single SDK, for free. Any engine. Any store. Any platform.
Epic Games

Unity CPU Optimization: Is Your Game… Draw Call Bound? - In this post, I'll show you how to know if your game performance is suffering from too many Unity Draw Calls and what to do about it. You'll be able to answer: What is a draw call and what will they do to your players? How do you know if you have too many draw calls? How can you reduce these dreadful Unity draw calls?
The Gamedev Guru

Performance best practices in C# - The goal of this article is to provide a non-exhaustive list of code patterns to avoid, either because they’re risky or because they perform poorly.
Kevin Gosse

Elegant parallax scrolling in Unity - Between how did the world start and how to stop global warming, there is another question I’m sure every one of use had asked ourselves at least once in our lives. And that is how to do parallax scrolling in Unity in an elegant way. In this post I’m going to show you exatcly this.
Antomic Games

LINQ-Style Generic Algorithms for Burst - We’ve seen how to create powerful, Burst-compatible generic algorithms already, but today we’ll take another approach to generic algorithms and implement them in the style of C#’s LINQ. Along the way, we’ll tackle a new challenge by implementing a generic algorithm that allocates a new collection.
JacksonDunstan.com

Snow Shader - New #under60sec tutorial! Make Snow that actually adds some volume to the objects with Shader Graph.
Daniel Santalla

Recompile's effects ported to HDRP - Recompile's "Fog of War" world-revealing effects is now ported to HDRP Shader Graph! Here's how we did it, in 60 seconds... Much more performant than the old version, this is all now completely shader based with no Physics.Overlap calls necessary.
Phi Compile

Exploring new ways to simulate the coronavirus spread - We built a simplified demonstration project to simulate coronavirus spread in a fictitious grocery store and explored the impact that store policy has on exposure rates. We’ve made the full source code for this project available on GitHub for anyone to extend.
Unity

How AR Foundation and MARS work together to enable interactive, multiplatform AR experiences - Unity makes tools that give creators the power to build deeply interactive augmented reality (AR) experiences that intelligently adapt to any environment and work across devices. Learn how AR Foundation and MARS work together to give creators the ability to make AR experiences that blur the line between the digital and physical worlds.
Unity

Videos

Final Fantasy 7 Remake - Fur shader in Unity
Final Fantasy 7 Remake - Fur shader in Unity - The Chocobos in the game are hairy, like many other animals with fur. Today we'll recreate this effect on Unity.
TNTC

Pikmin’s Gameplay - Pikmin is a game where you command an army of these tiny creatures that help you on your journey by carrying objects back to your ship and fighting a variety of dangerous enemies. In this video, I show how I tried to do a simple recreation of the basic gameplay of managing the Pikmin and carrying objects - using the Unity engine!
Mix and Jam

Ask The Experts: Best Practices for Monetizing Your Game - Unite Now - In this Unite Now session, you will learn from our monetization experts how you can maximize your game revenue without compromising the player experience. [want more? read Fundamental Metrics in Mobile Games Development on blog.theknightsofunity.com]
Unity

Fine Margins: Learn the Real Costs of Hosting Your Game - Unite Now - Discover the real costs of hosting your game, with strategic insight from Multiplay.com. They'll run through five of the key factors you need to consider to control your costs and stay on top.
Unity

Machine Learning Summit: Successfully Use Deep Reinforcement Learning in Testing and NPC Development - In this 2020 GDC Virtual Talk, Unity's Jeffrey Shih explains how deep reinforcement and imitation learning can be used for scaling playtesting and NPC creation in games.
GDC

Unity ML-Agents 1.0 - Training your first A.I - Unity3D's Machine Learning Framework has released Version 1.0. Great news! Now is the best time to get started with Artificial Intelligence in Unity. [also check out Train your first A.I. in Unity from Bot Academy.]
Sebastian Schuchmann

Basics of Lightmapping in Unity 2020.1 - Let's learn some basics of light mapping in Unity 2020.1 using Universal Render pipeline (URP). You will also learn some Unity tips and techniques to improve and speed up light baking workflow.
Unity Guruz

Realistic Shadows in Unity with HDRP! (Tutorial) - Let’s take a look at how we can control shadows in the High Definition Render Pipeline, to customize the shadows as we see fit for our game in Unity!
Unity

How To Make Translucent Materials In Unity With C# Tutorial - In this mini Unity tutorial we learn how to create see-thru materials.
Jimmy Vegas

Create a Dissolving Glow Effect & Controlling With Code in Unity! - Learn how to create a dissolving shader with glowing edges using Unity Shader Graph! You will also learn how to control your material through code to activate and deactivate the dissolving effect!
gamesplusjames

Pseudo-LipSyncing in Unity! - I was watching a CodeParade video, and I decided I liked his avatar thing he had made, and wanted to make something akin to that, as in the mouth kinda moves when someone is talking.
Chadderbox

How to Set Up Dynamic Water Physics and Boat Movement in Unity | Ship Buoyancy - Tutorial - In this tutorial you'll learn how to set up boat movement and dynamic water physics in Unity.
Tom Weiland

Arcade Car Driving in Unity - Learn how to create Arcade-style Car Driving in Unity with a brand new tutorial!
gamesplusjames

Intro to DOTS Physics and Havok Physics in Unity - Unity ECS Samples.
Turbo Makes Games

Fracture/Shatter Objects in 1 minute - Any 3D engine with collisions, parenting and physics should be almost exactly the same to do what I have done here.
Chadderbox

Introduction to Profiling - Unite Now - Profiling is one of the best ways to optimize your game. In this session, learn how to use Unity’s highly effective profiling tools and how to interpret the data they produce.
Unity

Take Your First Steps in XR - Unite Now - Ready to get started in the world of XR? Sit in with members of the Unity Education team as they walk you through the wide-ranging capabilities of the new XR Interaction Toolkit and the new VR Creator Kit.
Unity

Assets

The Heretic: Digital Human (FREE)
The Heretic: Digital Human (FREE) - While working on the realistic digital human in The Heretic, the Demo Team needed to set up a complete data pipeline, from the acquisition of 3D and 4D data through processing and into setup in Unity. We developed some technologies to enable this. You’re free to use these tools in your productions and build on top of them as you see fit.

Here’s what’s in the box: Facial animation systems
• Tools for 4D clip import and processing. When we say 4D, we mean a sequence of meshes captured over time.
• 4D clip rendering with timeline integration.
• 4D frame fitting, allowing detail injection from facial rig.
• Integration of facial rig from Snappers.
• Pose facial rig directly in Unity Skin attachment system
• Drive meshes and transforms in relation to dynamically deforming skin.
• Used to drive eyebrows, eyelashes, stubble and logical markers.
• Accelerated by C# Job System and Burst Compiler. Shaders and rendering
• Full shader graphs for skin/eyes/teeth/hair as seen in The Heretic.
• Custom pass for cross-material normal buffer blur (tearline).
• Custom marker-driven occlusion for eyes and teeth.
Unity Affiliate

HUMBLE LEARNING GAME CODING AND DEVELOPMENT BUNDLE - Master in-demand skills that can help you to land your dream job, start your own business, or just have fun with an awesome new hobby! Get on-demand, project-based courses featuring video lessons, PDF notes, full source code, and offline access. Learn anywhere, anytime, and on any device!

$1,250 WORTH OF AWESOME STUFF
PAY $1 OR MORE
Humble Bundle Affiliate

Unity Performance Checklist for 2020+ - 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

Humble BIG MUSIC Bundle For Games, Films, And Content Creators - 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 Affiliate

Bones³ - Bones³ (pronounced "Bones Cubed") is an advanced voxel block editor designed for the Unity engine. The framework is designed to allow users to create voxel structures and worlds both in-editor and in-game, as well as exposing a flexible API for writing custom world manipulation scripts.
Wraithaven Unity Tools Open Source

Bonsai Behaviour Tree & Autonomous Agents - Bonsai Behaviour Tree is an advanced behavior tree solution with a graphical editor. Autonomous Agents is a collection of steering behaviors including "Evade", "Obstacle Avoidance", "Flocking" and many more.
Luis Lpz Open Source

Dynamic Walls - demo implementation - This demo project showcases dynamic walls whose sides adapt to the environment used in our upcoming game: Pelagos: Rise of Greece. It contains a working example scene and commented source code. The idea behind it is very simple. Wall has 4 separate sides (front, right, back, left). If another wall is in front, disable the front side. The same for the second wall. If something is on the back of the wall: disable the back wall. Randomize a little for the prettier look and that's all ;)
keypax Open Source

The Vegetation Engine - The Vegetation Engine is a set of highly optimized vegetation shaders and tools designed to unify any vegetation asset from the Unity Asset Store, SpeedTree, Quixel Megascans, etc. or custom vegetation authored by your team.

With one-click setup andconversion for prefabs, and with a comprehensive set of decal-like Elements, you will be able to easily add high-quality wind motion, dynamic-wind power, vegetation interaction with unlimited objects or characters, dynamic seasons, global overlay(snow, sand, dust), global wetness, tinting, HDR tinting for fake Lights or GI, size, distance-based size fade or leaves amount, with minimal performance impact!
BOXOPHOBIC Affiliate

ZLogger - Zero Allocation Text/Strcutured Logger for .NET Core and Unity, built on top of a Microsoft.Extensions.Logging. [read the release article.]
Cysharp, Inc. Open Source

Zero Allocation Strings - By adding NonAllocString.instance prefix, string will be cached, so it will be allocated only 1 time.
Igor Levochkin Open Source

Announcing ML-Agents Unity Package v1.0! - oday, after more than two and a half years of development and 15+ release updates, we are excited to announce that the ML-Agents Unity package has reached v1.0 and is available as a Preview package. We’re also launching a new product and resources page for ML-Agents.
Unity Open Source

Sprite Auditor - Sprite Auditor is the tool you need when optimizing your binary size or draw calls, giving you visibility of what is happening in your game. You can see what atlases are reused between multiple scenes, and what sprites are in use from that atlas.
Bruno Andre Mikoski Open Source

MeshCombineWizard - Running the wizard will combine all the meshes on the chosen gameObject and its children that share the same material.
Gru Open Source

UnityGiphy - Library for using the GiphyAPI in Unity to get and play random Gifs as MP4s.
Cory Leach Open Source

Unity-Speedometer - A simple speedometer made with Unity.
The Developer Open Source

Spotlight

Yuppy
Yuppy - Game dev: From zero to App Store, as a side project. How and why.

Developing a game is a challenge on its own, and more so if you do it as a side project while working a full-time job. And maybe have a family. This is my story for Yuppy, a collection of mini educational games for iOS and Android. Why I made it, the struggles I faced, and how I eventually managed to finish and actually sell it.
Marco Bellinaso

You can subscribe to the free weekly newsletter on 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.

Read more about:

Blogs
Daily news, dev blogs, and stories from Game Developer straight to your inbox

You May Also Like