|
@@ -6,7 +6,7 @@
|
|
|
|
|
|
All Geometries need a Material to be visible. Every Material is based on a Material Definition. Material definitions provide the "`logic`" for the material, and a shader draws the material according to the parameters specified in the definition. The J3MD file abstracts the shader and its configuration away from the user, allowing a simple interface where the user can simply set a few parameters on the material to change its appearance and the way its handled by the shaders.
|
|
|
|
|
|
-The most common Material Definitions are included in the engine, advanced users can create custom ones. In this case you will also be interested in the xref:jme3/advanced/material_specification.adoc[in-depth developer specification of the jME3 material system].
|
|
|
+The most common Material Definitions are included in the engine, advanced users can create custom ones. In this case you will also be interested in the xref:material/material_specification.adoc[in-depth developer specification of the jME3 material system].
|
|
|
|
|
|
*Example:*
|
|
|
|
|
@@ -137,7 +137,7 @@ You can find these and other common code snippets in the jMonkeyEngine SDK Code
|
|
|
|
|
|
== Creating a Custom Material Definition
|
|
|
|
|
|
-First read the xref:jme3/advanced/material_specification.adoc[developer specification of the jME3 material system (.j3md,.j3m)]. Also check out the xref:jme3/build_from_sources.adoc[engine source code] and have a look at how some Material Definitions are implemented.
|
|
|
+First read the xref:material/material_specification.adoc[developer specification of the jME3 material system (.j3md,.j3m)]. Also check out the xref:jme3/build_from_sources.adoc[engine source code] and have a look at how some Material Definitions are implemented.
|
|
|
|
|
|
You can create your own Material Definitions and place them in your project's `assets/MatDefs` directory.
|
|
|
|
|
@@ -151,4 +151,4 @@ You can create your own Material Definitions and place them in your project's `a
|
|
|
|
|
|
== Related Links
|
|
|
|
|
|
-* xref:jme3/advanced/material_specification.adoc[Developer specification of the jME3 material system (.j3md,.j3m)]
|
|
|
+* xref:material/material_specification.adoc[Developer specification of the jME3 material system (.j3md,.j3m)]
|