Everything cool, but then i realized i don’t have a way to change the material color because im using a shader mesh, basically i want to change the colors of the squares when I click them using a raycaster but before achieving that i need a way to update the colors but i want to keep the black edges like this:
How is that doable? It’s the first time I use a shader sorry, I wanna be able to change the color of the boxes individually after the scene is rendered
this is already closed and i just wanted to show my results after your tips: 3Dtch-a-Sketch (portareset1.github.io)
im new to coding, started in february so is not that good