02-10-2022, 10:36 AM
(This post was last modified: 02-10-2022, 10:36 AM by josemendez.)
(02-10-2022, 09:58 AM)lacasrac Wrote: How I can draw a spiral on the rope?
Like this:
https://encrypted-tbn0.gstatic.com/image...Q&usqp=CAU
How to use custom shaders with the rope? Is there any sample?
Hi!
Ropes are just meshes, rendered using a MeshFilter/MeshRenderer. So you write shaders for them like you do for any other object in Unity, there’s no difference whatsoever. Nothing specific you need to do in order to write a shader “for ropes”.
Just write a shader that draws a spiral. If you’re new to shaders I’d suggest checking a few tutorials on the subject.
Kind regards,