User Tools

Site Tools


hpl2:tutorials:material_editor:tutorial_1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
hpl2:tutorials:material_editor:tutorial_1 [2010/11/04 15:08]
jens created
hpl2:tutorials:material_editor:tutorial_1 [2020/07/19 19:53] (current)
saito100
Line 1: Line 1:
 ====== Material Editor - Tutorial 1 ====== ====== Material Editor - Tutorial 1 ======
-The Material Editor is where you create and edit material files (.mat). These files tells the engine which textures and material properties each model uses.\\+ 
 +The Material Editor is where you create and edit material files (.mat). These files tell the engine which textures and material properties each model uses.\\
 \\ \\
 For this tutorial we will go through controls, viewer properties and setting basic textures (diffuse, normal and specular map) for a tileable floor material. For this tutorial we will go through controls, viewer properties and setting basic textures (diffuse, normal and specular map) for a tileable floor material.
--------+ 
 +---- 
 First open MaterialEditor.exe located in the game redist.\\ First open MaterialEditor.exe located in the game redist.\\
 Since we will be working with a floor we need the preview window to display a plane instead of a box. Simply change Box to plane under "​Model"​ to the right.\\ Since we will be working with a floor we need the preview window to display a plane instead of a box. Simply change Box to plane under "​Model"​ to the right.\\
Line 13: Line 16:
 \\ \\
 To add a diffuse texture check the "​Diffuse"​ box under "​Texture Units"​.\\ To add a diffuse texture check the "​Diffuse"​ box under "​Texture Units"​.\\
-Under "​File"​ press the button next to it, locate and choose a floor texture (example: redist\static_objects\mansionbase\floor\mansionbase_floor_boards.dds).\\+Under "​File"​ press the button next to it, locate and choose a floor texture (example: redist<​nowiki>​\</​nowiki>​static_objects<​nowiki>​\</​nowiki>​mansionbase<​nowiki>​\</​nowiki>​floor<​nowiki>​\</​nowiki>​mansionbase_floor_boards.dds).\\
 Keep the other options as it is.\\ Keep the other options as it is.\\
 Do the same thing again with "​NMap"​ and "​Specular"​. These should located at the same place and with _nrm and _specular as prefix.\\ Do the same thing again with "​NMap"​ and "​Specular"​. These should located at the same place and with _nrm and _specular as prefix.\\
-This is a wood material so dont forget to set "​Physics Material"​ to "​Wood"​ at the top of the window\\+This is a wood material so do not forget to set "​Physics Material"​ to "​Wood"​ at the top of the window.\\
 Save!\\ Save!\\
-{{material_editor01.jpg|}}+{{https://i.postimg.cc/​y857vHBN/​Material-Editor.png}} 
hpl2/tutorials/material_editor/tutorial_1.1288883332.txt.gz · Last modified: 2010/11/04 15:08 by jens