Package ca.eandb.jmist.framework.color

Examples of ca.eandb.jmist.framework.color.Color.divide()


    for (int i = 0; i < this.numSamples; i++) {
      pixel = ColorUtil.add(pixel, pixelShader.shadePixel(bounds));
    }

    return pixel.divide(numSamples);
  }

  /**
   * The number of samples to average from the decorated pixel
   * shader.
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.