فهرست منبع

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
          * Opposite effect of Modulate/Multiply. Invert both colors, multiply and
          * then invert the result.
          * then invert the result.
          * <p>
          * <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
         Screen
     }
     }