|
|
Whereas in the J3MD file, the parameter names and types are specified, in a J3M (Material instance) file, the values for these parameters are assigned, as will be shown later. This is how the materials are configured.
|
|
|
-At the time of writing, the following types of parameters are allowed inside J3MD files: Int, Boolean, Float, Vector2, Vector3, Vector4, Texture2D, TextureCubeMap.
|
|
|
+At the time of writing, the following types of parameters are allowed inside J3MD files: Int, Boolean, Float, Vector2, Vector3, Vector4, Texture2D, Texture3D, TextureCubeMap, Matrix3, Matrix4, IntArray, FloatArray, Vector2Array, Vector3Array, Vector4Array, Matrix3Array, Matrix4Array and TextureArray. For an up to date list of the parameter types, check out the VarType class here: https://github.com/jMonkeyEngine/jmonkeyengine/blob/master/jme3-core/src/main/java/com/jme3/shader/VarType.java
|