Pro Java 9 Games Development Leveraging the JavaFX APIs

(Michael S) #1
Chapter 15 ■ 3D Gameplay UI CreatIon: UsInG the sphere prImItIve to Create a UI noDe

Figure 15-9 shows a Run ➤ Project work process with game board quadrant 1 texture mapped and test
rendered. As you can see, the face order rendering problem appears once your diffuse texture map has been
applied!


Figure 15-8. Cut and paste all quadrant Box primitive code to one place and start adding shaders using
.setMaterial()


Figure 15-9. Select Run ➤ Project to render and preview the first quadrant texture map application (the face
order bug appears)

Free download pdf