浏览代码

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
     }