Skip to content

Other materials

The preferred asset workflow uses glTF and PBR. Other built-in material definitions remain useful for specific jobs:

  • Unshaded displays color or texture without scene lighting. It is useful for debugging and simple effects.
  • Lighting is the classic lighting material for projects and assets using that workflow.
  • Custom materials and shaders give you control over rendering when the built-in definitions do not meet your needs. Keep platform and renderer compatibility in mind.

Material parameters depend on the chosen material definition. A parameter from one definition is not necessarily valid on another. For working examples, inspect the material definitions in jme3-core and the examples shipped with the engine.