Skip to content

A tool for creating 3D particle effects from 2D video input in Unity

License

Notifications You must be signed in to change notification settings

sampstrong/video-based-particle-fx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

video-based-particle-fx

This project explores possibilities for generating 3D particle effects using 2D videos as input using Unity. It is a fork of this repository which uses Unity Barracuda to run an AI model that generates depth maps of videos in real-time.

Process

Render textures of the video's color map and depth map are fed into Unity's VFX Graph and sampled from to determine each particle's color and offset from its original position.

Although this can be done with a rectangular plane of particles, I've found it much more interesting to start with other shapes to break down the form of the 2D video. The example below shows what this system looks like starting with a tube shape.

Goals

The goal of this project is not to authentically replicate the source video. Rather, it's meant to find a new artistic expression in bringing 2D content into 3D space.

Example Images

About

A tool for creating 3D particle effects from 2D video input in Unity

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published