uniformDiffuse,1,newfloat[]{1.0f,0.5f,0.0f,1.0f},0);// Set the display viewportgl4.glViewportIndexedfv(0, viewportBuffer.put(0,0).put(1,0).put(2, windowSize.x).put(3, windowSize.y));// Clear color buffer with whitegl4.glClearBufferfv(GL_DEPTH,0, clearDepth.put(0,1)); gl...