the-other-mariana / explosion-shader-unity

Unity Shader that emulates an explosion using layered perlin noise. The shader involves vertex modification, color manipulation and a camera shader as well. Implemented in C# for Unity 3D.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Volumetric Explosion Shader for Unity 3D

Unity Shader that emulates a volumetric explosion of a sphere. There are 3 shaders involved: a vertex/fragment shader that handles the color and shape of the sphere using layered perlin noise, a smoke shader and a camera shader that lightens up as the explosion takes place. Implemented in C#.

Specifications

Unity Version: 2018.4.4f1

Usage

For visualization

Download exe-unity folder and store it in your computer.
Open the zipped folder and click on the .EXE file.

For the source code

Download unity-project folder and decompress it.
Open it as a Unity 3D project.

Preview

Preview version of an explosion using the shader is:

alt text

Siggraph 2020 FSSW Exhibit

alt text

About

Unity Shader that emulates an explosion using layered perlin noise. The shader involves vertex modification, color manipulation and a camera shader as well. Implemented in C# for Unity 3D.

License:MIT License


Languages

Language:C# 98.1%Language:SCSS 1.0%Language:Objective-C 0.5%Language:ShaderLab 0.3%Language:HLSL 0.1%