Wattereffekt tutorial without RenderPass

Hello,

im using JMonkey 3 and it dont using RenderPass anymore.

Can plz sombody tell me a tutorial for wattereffekt creation.



Thx in advance.

go for b :wink:

I dont want to.

well you need to write a glsl shader, that looks like water, then create a materialdefinition for this, where you specify the shaders, then you can use it as a simply as a material in jme3 on any geometry. (As all materials are done useing shaders, you don't need any passes or so on, just don't forget to set the watergeometry in the transparent bucket.

Great, thank you.

Me again,

im trying to set a RederState to an Spatial but i cant find the setRenderState method.

Where i can find a Dokumentation about the changes in JMonkey 3?

well everywhere and nowhere, first you need to understand at least the basics of the amterial system, also the geometry object, rest is pretty mcuh identicall

Mr.Sir said:

Me again,
im trying to set a RederState to an Spatial but i cant find the setRenderState method.
Where i can find a Dokumentation about the changes in JMonkey 3?

There's a nice tutorial series written by zarthas you might want to check out:
http://jmonkeyengine.com/wiki/doku.php/jme3:beginner:hello_simpleapplication