An Introduction to DeepFakes

This tutorial will cover the theory and practice of creating deepfakes: videos in which faces have been swapped using Machine Learning and Deep Neural Networks. If you are interested in learning more about this novel technique, this is the course for you.

After a theoretical introduction, this course will focus on how to make the most out of the popular applications FakeApp and faceswap; most of the deepfakes you will find online (such as the ones featuring Nicolas Cage) have been created using them.

You can read all the posts in this series here:

Continue reading

Learning Shaders

Making games is hard. Engines like Unity and Unreal have massively lowered the barrier to entry into this industry. And now that making games is easier than it has ever been before, developers are facing a new crisis. More and more people are joining this industry every day, making it harder to succeed in such an overcrowded market.

Many games that were popular and successful five years ago, would go mostly unnoticed today. More skills are needed to make a game stand out from its competitors, and this is why I believe that learning shaders is so important.

Shaders are the paintbrushes developers use to render graphics. The look and aesthetic of many iconic games, such as Journey, Antichamber and No Man’s Sky, was made possible only by the clever use of shaders.

Whether you are a new developer wanting to make games, or a veteran of the industry, learning how to write shaders can make the difference. This unusual tutorial pays homage to some of the best online content creators that you should know if you want to start your journey into shader coding. Continue reading

Atmospheric Scattering Shader

This tutorial finally concludes our journey to simulate Rayleigh Scattering for a planet’s atmosphere.

The next (and final) part will show how to change the shader to also include an additional type of scattering, known as Mie Scattering.

You can find all the post in this series here:

You can download the Unity package for this tutorial at the bottom of the page.

Continue reading

A Shader for the Atmospheric Sphere

 

You can find all the post in this series here:

You can download the Unity package for this tutorial at the bottom of the page.

Continue reading

A Journey Through the Atmosphere

This post describes how to model the density of the atmosphere at different altitude. This is a critical step, since the atmospheric density is one of the parameters necessary to correctly calculate the Rayleigh scattering.

You can find all the post in this series here:

You can download the Unity package for this tutorial at the bottom of the page.

Continue reading

The Mathematics of Rayleigh Scattering

This post introduces the Mathematics of Rayleigh Scattering, which is the optical phenomenon that causes the sky to appear blue. The equations derived in this tutorial will be translated into shader code in the next tutorial.

You can find all the post in this series here:

You can download the Unity package for this tutorial at the bottom of the page.

Continue reading

CD-ROM Shader: Diffraction Grating – Part 2

This post completes the series on how to create a shader for CD-ROMs.

You can find the complete series here:

A link to download the Unity project used in this series is also provided at the end of the page.

Continue reading

The Theory Behind Atmospheric Scattering

This is the second part of the tutorial on volumetric atmospheric scattering. In this post we will start deriving the equations that govern this complex, yet beautiful optical phenomenon.

You can find all the post in this series here:

You can download the Unity package for this tutorial at the bottom of the page.

Continue reading