Skip to main content
2 of 2
Added a photo to respond to the comment
Dan
  • 185
  • 3
  • 14

Aligning cube faces Unity

I am using a shader that uses a gradient noise node and time to add a wavy effect to a grid like texture. The issue with doing this is that it causes the lines to be misaligned on the different faces of the cubes.

enter image description here

What I would like is for the lines to be conjoined, like this (wavy effect not applied)

enter image description here

The shader graph layout I am using to generate this effect is

enter image description here

How can I go about fixing this issue so that all the lines are conjoined, but also have a wavy effect over time?


Edit

A rough sketch of what I am after. Here the black dots represent the physical shape of the object and the lines should be able to wave around the whole object and all be connected, regardless of whether there is an edge there or not.

enter image description here

Dan
  • 185
  • 3
  • 14