Преглед изворни кода

Update javadoc for screen blend mode.

Hannes Nevalainen пре 11 година
родитељ
комит
9027b748eb
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      jme3-core/src/main/java/com/jme3/material/RenderState.java

+ 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
     }