unity3d

Unity tutorials, shaders and tools.

Placing our Health Tracker Component Under Test with Unity Test Runner
Placing our Health Tracker Component Under Test with Unity Test Runner
· ☕ 2 min read
Lets explore this new health tracking component we’ve built by introducing the Unity Test Runner to our project. The Unity Test Runner allows you to add a variety of NUnit tests to your project that allow you to create Edit and Play mode tests.

Mouse Following Top-Down Space Ship Controller
Mouse Following Top-Down Space Ship Controller
· ☕ 2 min read
Lets make a top down controller that plays a bit more nicely with the mouse. This will allow us to direct our ship by having it move towards the mouse instead of requiring the controller or keyboard input we have required up to this point.

Rigidbody Top-Down Spaceship Controller
Rigidbody Top-Down Spaceship Controller
· ☕ 1 min read
We have a spaceship that can fly around, but we have a problem. It can fly through things. Lets fix that by changing our current transformation modification into physical forces on a rigidbody!

Top Down Following Spaceship Controller
Top Down Following Spaceship Controller
· ☕ 1 min read
Now that we have a spaceship controller that can take a direction input and turn that into movement we can start to play around with it.

Math in the Unity Inspector - Quick Tip
Math in the Unity Inspector - Quick Tip
· ☕ 1 min read
Unity has made it a bit easier to compute some values in their editor windows by allowing you to enter math formula’s into the inspector.

Rotating Unity Gizmos - Quick Tip
Rotating Unity Gizmos - Quick Tip
· ☕ 2 min read
Gizmos are a really handy way to indicate a whole range of interesting information during development of your project.

Exploring Dot Products in Unity
Exploring Dot Products in Unity
· ☕ 2 min read
Dot Products are a really easy and fun way to compare Vectors in space. When comparing two normalized with a dot product the result will be the cosine of the angle between the two Vectors.

Building a Custom Node in Unity's Shader Graph
Building a Custom Node in Unity's Shader Graph
· ☕ 2 min read
With the introduction of Shader Graph Unity also added support for Custom Nodes you can build yourself by creating custom CodeFunctionNode.

Learning How To Use Step and Smoothstep in Shaders
Learning How To Use Step and Smoothstep in Shaders
· ☕ 1 min read
A number of people have commented that we should be using step or smoothstep instead of some of the branching if/else blocks we’ve used in other videos (branches in shaders tend to perform worse than other functions).

A Circle Shader in Shader Graph - Ripple in Shader Graph - Part 1
A Circle Shader in Shader Graph - Ripple in Shader Graph - Part 1
· ☕ 2 min read
Lets learn Shader Graph by building our ripple shader entirely within Shader Graph. The goal of this series is to reproduce the ripple shader we’ve been working on and compare/contrast the process of building the same shader in both tools that Unity makes available to you.

Point and Ripple - Ripple Shader - Part 2
Point and Ripple - Ripple Shader - Part 2
· ☕ 2 min read
Welcome back! Let’s expand our Ripple Shader so it’s a bit easier to control and set the groundwork for some of the upcoming features we’ll want to build for it.