Text partly invisible with P3D renderer

Hi, thanks for your reply. I tried to to use the translate function as suggested by you but it did not help. Here is some sample code which also leads to the shown error:

	public static void main(String[] args) {
		ArrayList<String> _tagwords = new ArrayList<String>();

		String[] a = { "MAIN" };
		Test3D fw = new Test3D();
		PApplet.runSketch(a, fw);
	}

	public void settings() {
		size(800, 600, P3D);
	}

	public void setup() {
	}

	public void draw() {

		textLayer = createGraphics(iwidth, iheight, P3D);

		colorMode(RGB, 255);

		String font = "Bebas";

		textLayer.beginDraw();
		textLayer.textAlign(CENTER);
		int mainFontSize = 1000;

		font = "Bebas Neue Bold";
		textLayer.textFont(createFont(font, mainFontSize));
		textLayer.fill(color(255,255,255));
		
		textLayer.translate(0,0,200);
		textLayer.text("California", 3000, 2000);
		textLayer.save("../tmpimages/" + "3dtest.jpg");
		
		textLayer.endDraw();

		exit();
	}

}

Your help would be appreciated!! Thanks!!