Now let’s go back and fix those buttons. Open “blackberry_elements.max”. Go to File > Save As and name the new file “Blackberry_Illum_fix.max”. Delete all the render elements, disable Final Gather, and set your render output to “blackberry_illum_mask_.png”.
In the Material Editor, take an empty material and name it “Black”. Set the Diffuse Color to solid black. In the next empty slot change the name to “White”, and set the Diffuse Color to white and the self illumination to 100 (Fig.15).
At the top of the material Editor you will see four Blend Materials. These are for the four buttons just below the screen. Drag the “Black” material as an instance into the Material 1 slot of each of these materials. Drag “White” as an instance into the Material 2 slot of each. Select the Blackberry and go to Group > Open. Now select the four buttons in the viewport, and use “Ctrl+I” to invert the selection. Apply the “Black” material to everything apart from the four buttons (Fig.16).
Turn off both the lights in the scene and hit render. The result is a mask we will use to fix the buttons (Fig.17).
Go back into Combustion. Set the Viewport Display to 2 (highlighted in orange), and highlight “Composite” in the Workspace window. Right click and choose “New Layer” and in the type drop down, choose “Paint”. Click OK. Highlight the Footage Operator, and set the Opacity to 0 (Fig.18).
Highlight the first Paint Operator above the Footage Operator. Click on the Toolbar Tab, and click and hold over the Filled Rectangle Tool (solid white square) until a drop down menu appears. Select Filled Bezier Tool. Draw a four sided shape in the left viewport and while still working in the left viewport, use the right viewport to line up the shape with the outline of the first button (Fig.19).
Go back to the Workspace Tab and highlight Filled Polygon. Go to Modes, and change white to bright green (Fig.20).
Repeat Step 21 twice more. Create a shape that covers both of the buttons in the middle, and one for the button at the far right. Make the middle shape white, and the far right shape red. They don’t have to be perfect, just close (Fig.21).