Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 565 Bytes

File metadata and controls

12 lines (7 loc) · 565 Bytes

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