Tabnine Logo
BrightPass
Code IndexAdd Tabnine to your IDE (free)

How to use
BrightPass
in
ch.bildspur.postfx.pass

Best Java code snippets using ch.bildspur.postfx.pass.BrightPass (Showing top 4 results out of 315)

origin: cansik/processing-postfx

public BloomPass(PApplet sketch) {
  this.sketch = sketch;
  blurPass = new BlurPass(sketch);
  brightPass = new BrightPass(sketch);
}
origin: cansik/processing-postfx

/**
 * Run a bright pass pass on the texture.
 *
 * @param threshold Threshold of the brightness.
 * @return Builder object.
 */
public PostFXBuilder brightPass(float threshold) {
  BrightPass pass = getPass(BrightPass.class);
  pass.setThreshold(threshold);
  supervisor.pass(pass);
  return this;
}
origin: cansik/processing-postfx

brightPass.setThreshold(threshold);
brightPass.prepare(supervisor);
origin: cansik/processing-postfx

public void setup() {
  frameRate(FRAME_RATE);
  supervisor = new PostFXSupervisor(this);
  brightPass = new BrightPass(this, 0.3f);
  blurPass = new BlurPass(this, 40, 12f, false);
  sobelPass = new SobelPass(this);
  fx = new PostFX(this);
  fx.preload(VignettePass.class);
  canvas = createGraphics(width, height, P3D);
  // load test image
  lenna = this.loadImage("data/Lenna.png");
  hdrImage = this.loadImage("data/hdr.jpg");
  // initialise pass results
  passResult = createGraphics(width, height, P2D);
}
ch.bildspur.postfx.passBrightPass

Javadoc

Created by cansik on 27.03.17.

Most used methods

  • <init>
  • prepare
  • setThreshold

Popular in Java

  • Finding current android device location
  • onRequestPermissionsResult (Fragment)
  • getApplicationContext (Context)
  • startActivity (Activity)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now