Chapter 13 ■ 3D MoDel ShaDer Creation: USing the JavaFX 9 phongMaterial ClaSS
Use your Run ➤ Project work process, and view the phongMaterial rendering, which is shown in
Figure 13-3.
Figure 13-2. Wire the phongMaterial to the three primitives, using a setMaterial(phongMaterial) method call
off each
Figure 13-3. Showing the phongMaterial object with the diffuseColor property set to a Color.GOLD value