• Stars
    star
    481
  • Rank 91,384 (Top 2 %)
  • Language ShaderLab
  • License
    MIT License
  • Created about 4 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A realtime Matrix VFX Shader in Unity 3D

Real time Matrix VFX implemeted in Shaders in Unity using Triplanar mapping

screenshot

For the detailed break down of the technique, have a look at my blog post: https://medium.com/@shahriyarshahrabi/shader-studies-matrix-effect-3d2ead3a84c5


The Mesh is from Global Digital Heritage and is licnesed under non commercial use. https://skfb.ly/6UoNJ


Documentaion

This was made and tested on Unity 2018.2.14f1 on Windows using D3D. It might work on other platforms fine, or might be minor issues. If there are issues, let me know.

For downloading the project, the meshes are on Git LFS. Which has a very limted bandwidth, it can be that you wont be able to clone this fork, if my bandwidth quota has already been reached for this month (other people cloned and used it up), in that case just download the project as ZIP, since I wont be adding new stuff to this repo except bug fixes in the future.

Once you open the project, you can either open the Triplanar Scene or the ScreenSpace scene (under Assets/Scene). The screen space showcases the matrix effect on a 2D surfaces whereas the TriplanarScene shows the effect on a 3D scene.

On both your control center is the Managment/Manager Gameobject. There you can decide if you want to have the matrix effect colored, or generally check how the effect is dispatched. To see the effect press play.

In the Triplanar Scene, you start with no matrix effect, if you press R, the effect will be overlayed on the mesh. Press R again and the classic matrix effect will be shown. You can press R again to go to the pervious states.

Navigation in Game view is done exactly as Scene View. Right mouse click and then fly around with WASD. Press shift to get a boost in speed.

If you are having performance issues, turn off the post process effects.

More Repositories

1

Compute-Shaders-Fluid-Dynamic-

Fluid Simulation Implementation in Compute Shaders using Unity3D
C#
538
star
2

Procedural-painting

Procedural painting algorithms in Unity 3d with compute shaders based on genetic evolution algorithms
C#
489
star
3

TexturePaint

Painting directly in mesh textures in Unity 3d with shaders
C#
350
star
4

Look-At-Transformation-Matrix

A look at transformation matrix in vertex shader for Unity 3d. This animates the mesh without any manual rigging.
C#
143
star
5

Geometry-Grass-Shader

Geometry grass shader for Unity engine
ShaderLab
131
star
6

pointclouds-compute-shaders

A compute shader plus some c# scripts which render a mesh as point clouds
C#
88
star
7

Trees-With-Geometry-Nodes-Blender

Tree generation using geometry nodes in Blender 3D
85
star
8

UnityRaymarching

raymarching experiment in unity
GLSL
81
star
9

BluePrintShader

Blueprint shading with depth peeling in Unity
C#
77
star
10

3D-Moebius-Transformations-Vertex-shader-in-Unity-3D

Moebius Transformations of 3D spaces on 4D sphere in Vertex shader and C# in Unity 3D
C#
74
star
11

Procedural-Sound

Generate procedural sounds / synthesized paino on run time in Unity3d
C#
70
star
12

Interactive-Grass

C#
62
star
13

Mesh-Deformation-With-Compute-Shader-Oculus-Quest-Unity

Mesh deformation using compute shaders on the Oculus Quest/ Andriod in Unity3D
C#
58
star
14

Procedural-Chinese-Landscape-Painting-Blender-3D

Series of geometry nodes creating a chinese landscape painting, the mountains are created with Vornoi noise in Geometry noise
57
star
15

ToyRenderer

my toy renderer used for learning
C++
48
star
16

Cubism-Shader

A shader that creates a cubism effect based on voronoi segmentation in Unity 3d
ShaderLab
45
star
17

Stylized-Sword-Aura

A shader effect for real time animated aura around objects such as swords using shaders
GLSL
34
star
18

Transformation-Matrices-Cheat-Sheet

Collection of fundamental transformation matrices and a setup to easily try new matrices
C#
34
star
19

Unity-Stencil-Portal

An example of Stencil Portal in Unity
ShaderLab
29
star
20

simultaneous-equations-solver

Series of classes to solve simultaneous equations for c# along with an AI example of its use
C#
28
star
21

Day-Night-LUT-Shader

LUT shader for day night transition in Blender 3D
23
star
22

GeometryNodes-Stylized-Scene-Generator

Generating stylized scenes using Blender and geometry nodes. including trees, rocks and landscape
21
star
23

Non-Affine-Transformation-Matrices

Code for the non affine transformation matrices post I made
ShaderLab
12
star
24

equirectangular-Sphere-Mesh

an equirectangular Sphere Mesh used for skyboxes
10
star
25

Procedural-Islamic-Dome-Generator

A blender geometry node and material setup to procedurally generate islamic mosque dome
8
star
26

Tyrol-Church-Photogrammetry-Dataset

This Data Set contains drone images used for photogrammetry. The location is Rein in Taufers, a village in south Tyrol
6
star
27

PI-estimation-with-monte-carlo

Estimating the value of PI with monte carlo sampling of the area of a circle within a square
C#
4
star
28

Raytracer

C++ CPU ray tracer
C++
1
star