Skip to content

robcupisz/flying-embers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flying embers

A flying embers effect implemented in the Unity visual effect graph and shader graph.

Traditionally these are made by stretching the particle quad along velocity, but that approach breaks at grazing angles. Also a stretched texture is far from the depth-of-field-and-motion-blur-induced shape we've come to recognize as embers in films.

Here's an implementation, which tries to be more physically accurate, and holds up in close-ups and at grazing angles.

More technical details in the twitter thread about the embers.

debug ember

orbit

shallow dof

The repository doesn't contain the ground assets or the character, but otherwise it's the same scene.

known issues

  • If you have both the game view and scene view open at the same time, particles will align correctly only in the game view. Best to have both in the same tab group.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published