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

Both sides previous revision Previous revision
Last revision Both sides next revision
hpl2:tutorials:material_editor:tutorial_1 [2010/11/04 15:09]
jens
hpl2:tutorials:material_editor:tutorial_1 [2011/02/15 21:11]
l1ght5h0w
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.\\ + 
-\\ + 
-For this tutorial we will go through controls, viewer properties and setting basic textures (diffuse, normal and specular map) for a tileable floor material. +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. 
-------- + 
-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.\\ +---- 
-Preview controls:\\ + 
-Zoom: scroll wheel\\ + 
-Move lightsource direction: right mouse button+move mouse\\ +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.\\ ​ Preview controls:​\\ ​ Zoom: scroll wheel\\ ​ Move lightsource direction: right mouse button+move mouse\\ ​ \\  There are a few options under the preview window and they are easy understand.\\ ​ \\  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).\\ ​ 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.\\ ​ This is a wood material so do not forget to set "​Physics Material"​ to "​Wood"​ at the top of the window.\\  Save!\\ ​ {{:​hpl2:​tutorials:​material_editor:​material_editor01.jpg}} 
-\\ +
-There are a few options under the preview window and they are easy understand.\\ +
-\\ +
-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).\\ +
-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.\\ +
-This is a wood material so dont forget to set "​Physics Material"​ to "​Wood"​ at the top of the window\\ +
-Save!\\ +
-{{material_editor01.jpg}}+
hpl2/tutorials/material_editor/tutorial_1.txt · Last modified: 2020/07/19 19:53 by saito100