I'm trying to use photoshop blending functions I found (implememented in GLSL) with texture filters. From the website doc, you mention how filtering can operate on groups of texture, but I can't see how to call the actual filtering.
Filters are called using a method from the input texture, but when you have 2 input textures, how can this be done ?
Thanks!
jukea
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Applying one filter to one or more textures is easy. You can use the apply() method of the GLTextureFilter class by passing an array of input textures. Something like this:
Hi ,
I'm trying to use photoshop blending functions I found (implememented in GLSL) with texture filters. From the website doc, you mention how filtering can operate on groups of texture, but I can't see how to call the actual filtering.
Filters are called using a method from the input texture, but when you have 2 input textures, how can this be done ?
Thanks!
jukea
Hello jukea,
Applying one filter to one or more textures is easy. You can use the apply() method of the GLTextureFilter class by passing an array of input textures. Something like this:
filter.apply(new GLTexture[]{inTex1, inTex2, inTex3, inTex4}, outTex);
Andres