/** * Sets the ambient color for front and back to the given value. * * @param ambient * the new ambient color */ public void setAmbient(final ReadOnlyColorRGBA ambient) { setAmbient(MaterialFace.FrontAndBack, ambient); }
materialState.setAmbient(MaterialFace.FrontAndBack, new ColorRGBA(1, 1, 1, 1)); materialState.setDiffuse(MaterialFace.FrontAndBack, new ColorRGBA(1, 1, 1, 1)); materialState.setSpecular(MaterialFace.FrontAndBack, new ColorRGBA(1, 1, 1, 1));