|
@@ -4,7 +4,7 @@
|
|
|
:keywords: material, texture, file, sdk, wireframe, documentation
|
|
|
|
|
|
|
|
|
-In the <<jme3/advanced/material_definitions#,Material Definitions>> article you learned how to configure <<jme3/advanced/materials_overview#,Materials>> programmatically in Java code. If you have certain commonly used Materials that never change, you can clean up the amount of Java code that clutters your init method, by moving material settings into .j3m files. Then later in your code, you only need to call one setter instead of several to apply the material.
|
|
|
+In the xref:material/material_definitions.adoc[Material Definitions] article you learned how to configure <<jme3/advanced/materials_overview#,Materials>> programmatically in Java code. If you have certain commonly used Materials that never change, you can clean up the amount of Java code that clutters your init method, by moving material settings into .j3m files. Then later in your code, you only need to call one setter instead of several to apply the material.
|
|
|
|
|
|
If you want to colorize simple shapes (one texture all around), then .j3m are the most easily customizable solution. J3m files can contain texture mapped materials, but as usual you have to create the textures in an external editor, especially if you use UV-mapped textures.
|
|
|
|