Riccardo Balbo 4 месяцев назад
Родитель
Сommit
bbbb43482b
1 измененных файлов с 5 добавлено и 1 удалено
  1. 5 1
      jme3-effects/src/main/java/com/jme3/post/filters/KHRToneMapFilter.java

+ 5 - 1
jme3-effects/src/main/java/com/jme3/post/filters/KHRToneMapFilter.java

@@ -55,7 +55,7 @@ public class KHRToneMapFilter extends Filter {
     private final Vector3f gamma = new Vector3f(DEFAULT_GAMMA, DEFAULT_GAMMA, DEFAULT_GAMMA);
     private final Vector3f gamma = new Vector3f(DEFAULT_GAMMA, DEFAULT_GAMMA, DEFAULT_GAMMA);
 
 
     /**
     /**
-     * Creates a tone-mapping filter with the default white-point.
+     * Creates a tone-mapping filter with the default exposure and gamma.
      */
      */
     public KHRToneMapFilter() {
     public KHRToneMapFilter() {
         super("KHRToneMapFilter");
         super("KHRToneMapFilter");
@@ -81,6 +81,8 @@ public class KHRToneMapFilter extends Filter {
 
 
     /**
     /**
      * Set the exposure for the tone mapping.
      * Set the exposure for the tone mapping.
+     * 
+     * @param whitePoint The exposure vector.
      */
      */
     public void setExposure(Vector3f whitePoint) {
     public void setExposure(Vector3f whitePoint) {
         this.exposure.set(whitePoint);
         this.exposure.set(whitePoint);
@@ -98,6 +100,8 @@ public class KHRToneMapFilter extends Filter {
     
     
     /**
     /**
      * Set the gamma for the tone mapping.
      * Set the gamma for the tone mapping.
+     * 
+     * @param gamma The gamma vector.
      */
      */
     public void setGamma(Vector3f gamma) {
     public void setGamma(Vector3f gamma) {
         this.gamma.set(gamma);
         this.gamma.set(gamma);