I created this using shader nodes. now i want to taper the bottom instead of straight lines.
which nodes will help me to achieve that?
Blender Stack Exchange is a question and answer site for people who use Blender to create 3D graphics, animations, or games. It only takes a minute to sign up.Sign up to join this community
Depending on the direction of your UV mapping, you might have to switch X and Y in this kind of set-up, which follows your modulo + color-ramp method as far as possible:
Any other method which makes the Less-Than threshold depend on a dimension orthogonal to the one whose modulo is taken will do the same.
This tree also makes the period, base, and amplitude of the triangle-wave adjustable.