Engine Material Setup: Difference between revisions
Davidhensley (talk | contribs) (Created page with "Download the example character texture package here : [https://www.dropbox.com/s/vuto3l1v7w6mjp0/Example_Player_T.utx] Place this in your \KillingFloor\Textures\ folder Open...") |
(No difference)
|
Revision as of 21:47, 25 September 2013
Download the example character texture package here : [1]
Place this in your \KillingFloor\Textures\ folder
Open the editor and then open your texture browser, you can do this by pressing button highlighted below
On the texture browser window, click File > Open and select the downloaded texture package "Example_Player_T.utx"
This package has all the materials you need to set up your player materials, as well as an example first person hand texture and a portrait texture.
Select the group 3rdP by selecting the drop-down text to the "all" button. This will filter only the player textures and materials. The package should look like this:
This is an example of Mrs. Foster textures and materials. It consists of 1 dxt3 texture and 2 combiners.
Your texture must have your diffuse map in the color of your dds texture and the specular mask in the alpha channel. The specular mask blends between the ENV_CMB and the diffuse texture using the alpha channel as a mask. It's basically masking where a cube map is combined additive mode to the diffuse map.
You can simply replace the texture "Example_D" with your texture. As long as you have an alpha channel the materials will update correctly. If you imported texture has a new name you will have to manually update the references in the Example_CMB and Example_ENV_CMB. You do this by right clicking on the combiners, clicking on properties. Select your new texture in the browser, then clicking the property in the combiner and clicking "use". This will update the texture reference to your new texture. Below is an image of the combiner set ups. You can see how the texture is combined with an environment map in the ENV_CMB and how that is combined with the texture based on the alpha of the texture.