Any chance of a breakdown of the shader?
this should be what you are looking for
yeah，that is a good tutorial。I‘ve seen it before.
cheers, that helps…
one part i don’t quite follow is how they use the normal and local position with “vector reject.” to move the vert position relative to each hexagon - at the 3.55 mark https://youtu.be/_IwlpwEJ3lE?t=240…
what is the vetor reject node doing?
It basically flattens the vector onto the hexagon. It’s like the opposite of when you use vector projection to find the distance between things.
this video got me upto speed on vector projections,
what vector is getting flattened? the rejection of the local vert positions and its normal?
Yes exactly. The localspace position vector is rejected from the vert normal.
Like this (I exaggerated the Normal angle to show what’s going on):
Oh, and I can’t see your video
video description of the rejection vector
cheers for the info guys, more fun tools to play with
It’s because the normals are hard/faceted. If they were smooth, the rejection would just be 0. Check this, I have isolated one hexagon with hard normals so it’s easier to see the difference between the position and the normal. Since the localspace origin of a sphere means the position normals of all corners of the hexagon are spreading, the direction of the rejected vector will be towards the center of the hexagon.
cool, makes snese now
cheers for the diagram
Projection of a on b (a1), and rejection of a from b (a2).
I see you’ve been handled