Przeglądaj źródła

Update javadoc for screen blend mode.

Hannes Nevalainen 11 lat temu
rodzic
commit
9027b748eb

+ 1 - 1
jme3-core/src/main/java/com/jme3/material/RenderState.java

@@ -181,7 +181,7 @@ public class RenderState implements Cloneable, Savable {
          * Opposite effect of Modulate/Multiply. Invert both colors, multiply and
          * then invert the result.
          * <p>
-         * Result = 2 * Source Color * Dest Color -> (GL_ONE, GL_ONE_MINUS_SRC_COLOR)
+         * Result = 1 - (1 - Source Color) * (1 - Dest Color) -> (GL_ONE, GL_ONE_MINUS_SRC_COLOR)
          */
         Screen
     }