Project

General

Profile

« Previous | Next » 

Revision 85cbbc5e

Added by Leszek Koltunski over 7 years ago

Postprocessing effects: remove support for Center

View differences:

src/main/java/org/distorted/library/EffectNames.java
241 241

  
242 242
  /////////////////////////////////////////////////////////////////////////////////
243 243
  // POSTPROCESSING EFFECTS.
244
  // Always 3 Uniforms: 1 per-effect interpolated value + 2 dimensional center.
244
  // Always 1 Uniform: 1 per-effect interpolated value.
245 245
 /**
246 246
   * Blur the area around the center.
247 247
   * <p>
248
   * Uniforms: (radius,centerX,centerY)
248
   * Uniforms: (radius)
249 249
   * <p>
250 250
   * Unity: radius==0
251 251
   */
252
  BLUR             ( EffectTypes.POSTPROCESS,new float[] {0.0f}          , 1, false, true );
252
  BLUR             ( EffectTypes.POSTPROCESS,new float[] {0.0f}          , 1, false, false );
253 253

  
254 254
///////////////////////////////////////////////////////////////////////////////////////////////////
255 255
  

Also available in: Unified diff