Skip to content

This shader has an effect of rolling (like a paper) a procedural mesh, being a simple generated cube.

License

Notifications You must be signed in to change notification settings

zaytiri/unity-rolling-mesh-shader-effect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rolling Mesh Shader Effect for Unity

This shader has an effect of rolling (like a paper) a procedural mesh, being a simple generated cube.

On the object Paper set on roll_shader_effect scene, open the material settings and change the value '_Unrolled Angle' which contains the 'Rolling' shader.

The basic code was provided by the following link: https://gamedev.stackexchange.com/questions/151904/how-can-i-roll-up-a-plane-with-a-vertex-shader

Preview:

preview.rolling.mesh.shader.effect.mp4

About

This shader has an effect of rolling (like a paper) a procedural mesh, being a simple generated cube.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published