Skip to content

A shader that creates a cubism effect based on voronoi segmentation in Unity 3d

License

Notifications You must be signed in to change notification settings

IRCSS/Cubism-Shader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cubism Effect in Shader in Unity 3D

In the repo you will find code for achieving a cubist like effect on meshes. The effect is done in vertex shader by adjusting camera view matrix per voronoi segment (created based on world space coordinates), so that each segment is viewed from different perspective.

More info on it in this blog post: https://medium.com/@shahriyarshahrabi/real-time-cubism-shader-5c8e0c79195c

The mesh is not in the repo, you can grab it on sketchfab.The mesh used for show case the shade is from The Hallwyl Museum, scanned by ErikLernestal.

screenshot

About

A shader that creates a cubism effect based on voronoi segmentation in Unity 3d

Resources

License

Stars

Watchers

Forks

Packages

No packages published