Tranfer data from geometry nodes to material

Hi, im trying to make parametric wall with hole in it. So i achieved model that i wanted, however i cant transit the postion of points(that creates hole). I ve tried all sorts of stuff, but it didnt work.

So what i want in the end: you can control shape, size, rotation and so on of the hole(which i already did) and those changes affect material. So if i would like to emply those changes, it would proportionally change the material.

Any suggestion?

Not sure about the specifics of your question, but generally you can transfer data as attributes from geometry nodes to materials like this:

1 Like

Hi, idk why my node setup doesnt work. Im trying to figure out the way to paramtrically paint the edges of my shape. Thing is i want to have my edges painted whenever i change the shape of my holes. For now i used bevel node, though it cant make the edges sharp. I tried to use attributes to parametrically place drawn shape, but im too dumb to understand why it doesnt work(

I would be satisfied if i could at least make 1 sharp outline of the hole(i mean so that at least 1 layer of outline), and i mean not the grease pencil, but bevel node but sharp


my node setup(shader)


geomtry node

Q: How i created that shape?
A: Boolean: base cube and 2 pack of instnces. one pack is offsetted via math nodes

If achieving via attribute i need to ?pack? origin points of intsces and use them as origin point of the drawn shape

hlp ples