Tag: unity
-
Evolutionary Computation – Part 2
—
In the first part of this tutorial we have explored what evolutionary computation is, and why it works. The rest of this tutorial will show how to set up a practical example and how to use evolution to solve a real problem. In our case, the problem is teaching a bipedal creature how to keep balance and how to walk…
-
Scene Management in Unity 5
This tutorial shows how the manage scenes and levels in Unity 5.3, with the introduction of UnityEngine.SceneManagement.
-
How to Simulate Cellular Automata with Shaders
This post will show how to simulate cellular automata using shaders. The popular cellular automaton developed by John Conway, Game of Life, will be used as an example for this tutorial. To learn how to set up your project, check out the first two parts of this tutorial: How to Use Shaders For Simulations and How to Simulate Smoke with Shaders.
-
How to Simulate Smoke with Shaders
This post will show how to simulate the diffusion of smoke using shaders. This part of the tutorial focuses on the Maths and the code necessary to recreate the smoke effect. To learn how to set up your project, check out the first part: How to Use Shaders For Simulations.
-
How to integrate Arduino with Unity
In this tutorial you will learn how Unity and Arduino can communicate using the serial port. This tutorial requires both C# and Arduino scripts; the labels Unity and Arduino will be used to avoid confusion. The topic of connecting Arduino to Unity is further expanded in Asynchronous Serial Communication, where you can also download the entire Unity package.
-
How to Use Shaders for Simulations
This series of tutorials will teach you how use shaders for simulations; in particular how to use them to simulate fluids. This first post will focus on how to continuously process a texture using a shader. This technique is at the heart of most simulations and will be used in this series to implement shaders that simulate smoke and…
-
To Voronoi and Beyond
Voronoi Diagrams This tutorial is a primer on Voronoi diagrams: what they are, what you need them for and how to generate them using a Shader in Unity. You can download the complete Unity page in Part 4. Part 1: Voronoi Diagrams Technically speaking, Voronoi diagrams are a way to tassellate a space. It means…
-
Unity Tips #1
This is the first part of a series of posts dedicated to the most useful, short and sweet tips to make the most out of Unity. Today we will focus on interesting features of the editor which can really speed up your workflow. You can use the hashtag #UnityTips to find many more tips posted by developers all around the world.
-
Arrays & shaders: heatmaps in Unity
—
This tutorial explains how to pass arrays to shaders in Unity. This feature has been present for a long time, but is mostly undocumented. Unity 5.4.0 Beta 1 will introduce a proper API to pass arrays to shaders; this technique however will work with any previous version. If you are using Unity 5.4+, please refer to the Arrays & Shaders…