material: rename PostShadow15 -> PostShadow

cleanup_build_scripts
Kirill Vainer 9 years ago
parent 5584ca9119
commit f2f748ed7e
  1. 7
      jme3-core/src/main/java/com/jme3/shadow/AbstractShadowRenderer.java
  2. 7
      jme3-core/src/main/java/com/jme3/shadow/PssmShadowRenderer.java
  3. 2
      jme3-core/src/main/resources/Common/MatDefs/Light/Lighting.j3md
  4. 4
      jme3-core/src/main/resources/Common/MatDefs/Misc/Unshaded.j3md

@ -330,12 +330,7 @@ public abstract class AbstractShadowRenderer implements SceneProcessor, Savable
public void initialize(RenderManager rm, ViewPort vp) {
renderManager = rm;
viewPort = vp;
//checking for caps to chosse the appropriate post material technique
if (renderManager.getRenderer().getCaps().contains(Caps.GLSL150)) {
postTechniqueName = "PostShadow15";
} else {
postTechniqueName = "PostShadow";
}
postTechniqueName = "PostShadow";
if(zFarOverride>0 && frustumCam == null){
initFrustumCam();
}

@ -355,12 +355,7 @@ public class PssmShadowRenderer implements SceneProcessor {
public void initialize(RenderManager rm, ViewPort vp) {
renderManager = rm;
viewPort = vp;
//checking for caps to chosse the appropriate post material technique
if (renderManager.getRenderer().getCaps().contains(Caps.GLSL150)) {
postTechniqueName = "PostShadow15";
} else {
postTechniqueName = "PostShadow";
}
postTechniqueName = "PostShadow";
}
public boolean isInitialized() {

@ -217,7 +217,7 @@ MaterialDef Phong Lighting {
}
Technique PostShadow15{
Technique PostShadow {
VertexShader GLSL150: Common/MatDefs/Shadow/PostShadow.vert
FragmentShader GLSL150: Common/MatDefs/Shadow/PostShadow.frag

@ -148,7 +148,7 @@ MaterialDef Unshaded {
}
Technique PostShadow15{
Technique PostShadow {
VertexShader GLSL150: Common/MatDefs/Shadow/PostShadow.vert
FragmentShader GLSL150: Common/MatDefs/Shadow/PostShadow.frag
@ -181,7 +181,7 @@ MaterialDef Unshaded {
}
}
Technique PostShadow{
Technique PostShadow {
VertexShader GLSL100: Common/MatDefs/Shadow/PostShadow.vert
FragmentShader GLSL100: Common/MatDefs/Shadow/PostShadow.frag

Loading…
Cancel
Save