Fixed GammaCorrectionFilter path to j3md and frag files

This commit is contained in:
Nehon 2014-05-25 15:00:01 +02:00
parent 09e705dcc4
commit 9f45f78c86
2 changed files with 3 additions and 3 deletions

View File

@ -64,7 +64,7 @@ public class GammaCorrectionFilter extends Filter {
@Override
protected void initFilter(AssetManager manager,
RenderManager renderManager, ViewPort vp, int w, int h) {
material = new Material(manager, "Materials/Filter/GammaCorrection.j3md");
material = new Material(manager, "Common/MatDefs/Post/GammaCorrection.j3md");
material.setFloat("InvGamma", 1.0f/gamma);
}

View File

@ -8,7 +8,7 @@ MaterialDef GammaCorrection {
Technique {
VertexShader GLSL150: Common/MatDefs/Post/Post15.vert
FragmentShader GLSL150: Materials/Filter/GammaCorrection15.frag
FragmentShader GLSL150: Common/MatDefs/Post/GammaCorrection15.frag
WorldParameters {
}
@ -20,7 +20,7 @@ MaterialDef GammaCorrection {
Technique {
VertexShader GLSL100: Common/MatDefs/Post/Post.vert
FragmentShader GLSL100: Materials/Filter/GammaCorrection.frag
FragmentShader GLSL100: Common/MatDefs/Post/GammaCorrection.frag
WorldParameters {
}