@@ -0,0 +1,771 @@
+package com.haxademic.core.draw.filters.shaders;%0A%0Aimport com.haxademic.core.draw.filters.shaders.shared.BaseFilter;%0A%0Aimport processing.core.PApplet;%0Aimport processing.core.PImage;%0A%0Apublic class BlendTowardsTexture%0Aextends BaseFilter %7B%0A%0A%09public static BlendTowardsTexture instance;%0A%09%0A%09public BlendTowardsTexture(PApplet p) %7B%0A%09%09super(p, %22haxademic/shaders/filters/texture-blend-towards-texture.glsl%22);%0A%09%09setBlendLerp(0.25f);%0A%09%7D%0A%09%0A%09public static BlendTowardsTexture instance(PApplet p) %7B%0A%09%09if(instance != null) return instance;%0A%09%09instance = new BlendTowardsTexture(p);%0A%09%09return instance;%0A%09%7D%0A%09%0A%09public void setBlendLerp(float blendLerp) %7B%0A%09%09shader.set(%22blendLerp%22, blendLerp);%0A%09%7D%0A%09%0A%09public void setSourceTexture(PImage source) %7B%0A%09%09shader.set(%22targetTexture%22, source);%0A%09%7D%0A%09%0A%7D%0A

Add wrapper for texture lerp shader