Creating the node tree
We will create three subpixels that we will instance using a grid. After that, we will extract the R, G, and B channels from an image to send that information to the Material editor to edit the materials accordingly. Then, we will have a working LED panel.
Now that we know about the techniques that we’re going to use, let’s start by building the node tree we’ll need for this exercise.
Creating a single subpixel
Let’s start off this exercise by creating a single subpixel:
- Start by adding a Grid node.
- Since we want three pixels on the X axis, as shown in Figure 12.3, we will need to use a value of
0.333
(1 divided by 3). For our Y axis, we’ll use a height of1
.
Make sure to only use 2
vertices on each axis. Since we’ll be instancing this object a lot, we do not want to put too much strain on our computer.
This is how the node should look:
Figure 12.4: The Grid node...