Fixed git clone URL
[sixth-3d.git] / src / main / java / eu / svjatoslav / sixth / e3d / renderer / raster / shapes / composite / textcanvas / RenderMode.java
index 4243756..1aeb9a8 100644 (file)
@@ -1,13 +1,19 @@
 /*
- * Sixth 3D engine. Author: Svjatoslav Agejenko. 
+ * Sixth 3D engine. Author: Svjatoslav Agejenko.
  * This project is released under Creative Commons Zero (CC0) license.
- *
-*
  */
-
 package eu.svjatoslav.sixth.e3d.renderer.raster.shapes.composite.textcanvas;
 
 public enum RenderMode {
-    TEXTURE, // Text is rendered on textured polygon
-    CHARACTERS // Text is rendered as high quality, anti-aliazed tiles
+    /**
+     * Text is rendered as pixels on textured polygon.
+     * This mode works in any orientation. Even if polygon is rotated.
+     */
+    TEXTURE,
+
+    /**
+     * Text is rendered as high quality, anti-aliased tiles.
+     * This mode works only if text is facing the camera almost directly.
+     */
+    CHARACTERS
 }