/** * Run a bloom effect on the texture. * * @param threshold Luminance threshold. * @param blurSize Size of the blur. * @param sigma Sigma of the blur. * @return Builder object. */ public PostFXBuilder bloom(float threshold, int blurSize, float sigma) { BloomPass pass = getPass(BloomPass.class); pass.setThreshold(threshold); pass.setBlurSize(blurSize); pass.setSigma(sigma); supervisor.pass(pass); return this; }