Trouble implementing libgdx-contribs postprocessing library

Hi!

I’m trying to use https://github.com/manuelbua/libgdx-contribs in my project.

I’ve imported the projects including the demo which works fine. I’ve added the utils and the postprocessing projects to my projects build path.

I can create the objects in my game class:



import com.bitfire.postprocessing.PostProcessor;
import com.bitfire.postprocessing.effects.Curvature;
   ...
public void show() {
   ...
   PostProcessor p = new PostProcessor(false, false, false);
   Curvature curve = new Curvature();
   ...
}

but an exception is thrown when adding a curve

Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: File not found: screenspace.vertex (Internal)
	at com.badlogic.gdx.files.FileHandle.read(FileHandle.java:136)
	at com.badlogic.gdx.files.FileHandle.length(FileHandle.java:602)
	at com.badlogic.gdx.files.FileHandle.estimateLength(FileHandle.java:233)
	at com.badlogic.gdx.files.FileHandle.readString(FileHandle.java:198)
	at com.badlogic.gdx.files.FileHandle.readString(FileHandle.java:191)
	at com.bitfire.utils.ShaderLoader.fromFile(ShaderLoader.java:38)
	at com.bitfire.utils.ShaderLoader.fromFile(ShaderLoader.java:27)
	at com.bitfire.postprocessing.filters.RadialDistortion.<init>(RadialDistortion.java:49)
	at com.bitfire.postprocessing.effects.Curvature.<init>(Curvature.java:27)
	at com.exp.Play.show(Play.java:221)
	at com.badlogic.gdx.Game.setScreen(Game.java:61)
	at com.exp.Boot.create(Boot.java:15)
	at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:149)
	at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)

It can’t find any of the shader resources when used in my libgdx project, but all shaders work on the demo. I imported only to my core folder, have I missed somthing?

Nvm, I’m an idiot and should have read this first: