Skip to content

A simple painting like effect using the Unity VFX Graph

License

Notifications You must be signed in to change notification settings

peartreegames/vfx-painting

Repository files navigation

VFX Painting

Painting_Editor_Trim.mp4
Painting_Editor_Field_Trim.mp4

More for an art project than a game, as the performance isn't that great (understandably).

How it works

There are two cameras in the scene. The first sends the data to two Render Textures.

One, just a screenshot for the colors, the second a depth pass with the RBG values being the world positions.

Then a VFX graph uses those Render Textures to set colors and positions of individual paint brush strokes. With the size of the stroke being adjusted by the distance from the camera.

The second camera then only shows the VFX graphs outputs on the main display.

About

A simple painting like effect using the Unity VFX Graph

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published