Particle shader on android

Hi.

I just synced the latest 3.1 trunk to test it against the google cardboard integration on android.
When running my examples, I get this error now:

com.jme3.renderer.RendererException: This shader cannot run in OpenGL ES 2. Only GLSL 1.00 shaders are supported.
E/AndroidRuntime(28770): at com.jme3.renderer.opengl.GLRenderer.updateShaderSourceData(GLRenderer.java:1051)
E/AndroidRuntime(28770): at com.jme3.renderer.opengl.GLRenderer.updateShaderData(GLRenderer.java:1149)

It’s the particle shader it’s complaining about, which worked when I last checked (it’s been a while since I updated trunk, though).
Does anyone know why this occurs now?

Edit: Sorry for the confusion. I wasn’t running the example I thought I was. It’s Common/MatDefs/Misc/Particle.j3md this thread is about. Updated accordingly

Thanks

1 Like

@Momoko_Fan i think we really have an issue with the technique selection.
It seems it picks the first default technique here (the one that supports point sprites) and not the second one (that should be the one selected)

Yea I have it fixed locally. Its due to the geometry / tessellation shader changes.

EDIT: OK I committed it.