From 9027b748eb5a0fc964a504273aa94f8bd6dd61f2 Mon Sep 17 00:00:00 2001 From: Hannes Nevalainen Date: Tue, 1 Jul 2014 19:19:53 +0200 Subject: [PATCH] Update javadoc for screen blend mode. --- jme3-core/src/main/java/com/jme3/material/RenderState.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jme3-core/src/main/java/com/jme3/material/RenderState.java b/jme3-core/src/main/java/com/jme3/material/RenderState.java index 0bca7ebad..293f39621 100644 --- a/jme3-core/src/main/java/com/jme3/material/RenderState.java +++ b/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. *

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