Volumetric Rendering: Surface Shading

Volumetric Rendering: Surface Shading

This third instalment on Volumetric Rendering will explain how to shade volumes in a realistic fashion. This essential step is what gives threedimensionality to the flat, unlit shapes that have been generated so far with raymarching.

geom1

You can find here all the other posts in this series:

Continue reading

Volumetric Rendering: Raymarching

Volumetric Rendering: Raymarching

This post continues the tutorial on volumetric rendering, introducing one of the most used techniques: raymarching.

You can find here all the other posts in this series:

Continue reading

Volumetric Rendering

Volumetric Rendering

This is the first part of a Unity tutorial dedicated to Volumetric Rendering, raymarching and signed distance fields. These techniques allow us to overcome the biggest limitation of modern 3D engines, which only let us render the outer shell of an object. Volumetric rendering enables the creation of realistic materials that interact with light in a complex way, such as fog, smoke, water and glass. Beautifully crafted effects such as NMZ‘s Plasma Globe (below) would simply be impossible without volumetric rendering.

v1

These techniques are not complicated, but require a lot of steps in order to replicate the aforementioned effects. This tutorial has got you covered.

  • Part 1: Volumetric Rendering | An introduction on what rendering volume means, and how it can be done in Unity;
  • Part 2: Raymarching | Focuses on the the implementation of distance-aided raymarching, the de-fact standard technique to render volumes;
  • Part 3: Surface Shading | A comprehensive guide on how to shade volumes realistically;
  • Part 4: Signed Distance Functions | An in depth discussion on the mathematical tools that allow us to generate and combine arbitrary volumes;
  • Part 5: Ambient Occlusion | How to implement realistic and efficient ambient occlusion in your volumes;
  • Part 6: Hard and Soft Shadows | How to add real shadows to your volumes;
  • Part 7: Volume Raycasting | A variant of raymarching that can render semitransparent surfaces such as fog and smoke.

This first part will provide a general introduction to volumetric rendering, and end with a simple shader that will be the base of all our future iterations:

A full Unity package will be available soon. You may want to consider subscribing to the mailing list to stay updated.

Continue reading

What Brexit Really Means for Independent Developers

brexit

Last Friday morning people in the UK voted to leave the European Union. Regardless of your political views and economic situation, Brexit will have long term consequences; not just for the UK, but for the EU as well. And while the benefits of leaving the EU are still hypothetical (and wildly controversial), it’s easier to foresee the hindrances it will unleash. Brexit will strip European people living in the UK of many privileges they rightfully have. This article addresses the implication on the indie scene in the UK, and the resulting consequences on the entire gaming industry. Continue reading

The Autocorrelation Function

autocorrelation

The purpose of this tutorial is to show a simple technique to estimate periodicity in time series, called autocorrelation.

This tutorial is part of a longer series that focuses on how to analyse time series.

Continue reading