|
|
@ -114,19 +114,19 @@ public class MaterialTest { |
|
|
|
@Test |
|
|
|
@Test |
|
|
|
public void testSelectNamedTechnique_GLSL150Cap() { |
|
|
|
public void testSelectNamedTechnique_GLSL150Cap() { |
|
|
|
supportGlsl(150); |
|
|
|
supportGlsl(150); |
|
|
|
material("Common/MatDefs/Misc/Particle.j3md"); |
|
|
|
material("Common/MatDefs/Light/Lighting.j3md"); |
|
|
|
|
|
|
|
|
|
|
|
material.selectTechnique("SoftParticles", renderManager); |
|
|
|
material.selectTechnique("PostShadow", renderManager); |
|
|
|
|
|
|
|
|
|
|
|
checkRequiredCaps(Caps.GLSL100, Caps.GLSL150); |
|
|
|
checkRequiredCaps(Caps.GLSL150); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
@Test |
|
|
|
public void testSelectNamedTechnique_GLSL100Cap() { |
|
|
|
public void testSelectNamedTechnique_GLSL100Cap() { |
|
|
|
supportGlsl(100); |
|
|
|
supportGlsl(100); |
|
|
|
material("Common/MatDefs/Misc/Particle.j3md"); |
|
|
|
material("Common/MatDefs/Light/Lighting.j3md"); |
|
|
|
|
|
|
|
|
|
|
|
material.selectTechnique("SoftParticles", renderManager); |
|
|
|
material.selectTechnique("PostShadow", renderManager); |
|
|
|
|
|
|
|
|
|
|
|
checkRequiredCaps(Caps.GLSL100); |
|
|
|
checkRequiredCaps(Caps.GLSL100); |
|
|
|
} |
|
|
|
} |
|
|
|