[SOLVED] Can I define RenderState in a j3m material file?

Can I define RenderState in a j3m material file? I want to set Blend Alpha without writing a j3md file (I just want to use unshaded.j3md) and I don’t want to have to do it in code everywhere I use the material.

Failing that, what is the recommended way setting RenderStates when creating j3m material files?

https://jmonkeyengine.github.io/wiki/jme3/advanced/j3m_material_files.html

Scroll down.

Sigh I was looking in the wrong document, thanks for pointing it out!

Material Alpha Material : Common/MatDefs/Misc/Unshaded.j3md {

  Transparent On
    
  MaterialParameters {
    Color : 0 0 1 0.3
  }
  AdditionalRenderState {
    Blend Alpha
  }
}