I am an engineer, focused on the Mechatronics Engineering, recently started with unity to model a sensor output. According to the sensor readings i’m trying to change the pixel colour values around the 3d cube.
For ex: Scale of X =10 , Y = 9 and Z = 1. I want to change the colours of the pixel by pixel in x and z sides.
I have a cube like above and lets assume small yellow square is an one pixel. What I want to do is change the colour of that particular pixel first using a script, and next using a loop change the colour dynamically in yellow, red and blue and other surfaces.