The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tutorial: How to Apply Multiple Textures to a Single Entity
Krymtel Offline
Member

Posts: 105
Threads: 9
Joined: Oct 2011
Reputation: 3
#1
Information  Tutorial: How to Apply Multiple Textures to a Single Entity


INTRO

This is a tutorial intended to help people out with adding more than one texture onto a single entity in Amnesia. In this case, I will use a framed picture as an example, one texture being for the frame and picture and the other being for the glass. You would want to use multiple textures in a situation like this because, lets say the frame of the picture is wooden. If you exported the entire model with the glass and frame and you gave it one texture, then you would be forced to decide upon giving the material either the properties of glass or wood. With multiple textures, you can specify what material has what property to get more realistic and convenient results. In the end, the glass in the model would be transparent and would sound like glass when hit and the frame would sound like wood when hit.

PREREQUISITES

You must...

1. Have some modeling experience.

2. Know how to map/lay out UVs.

3. Have some experience with Amnesia's HPL2 Editing software.

TUTORIAL

Step 1: First of all, know this: your model will have to be separated into different parts to have multiple textures, each part taking one texture. In this case, we separate the framed picture into two parts; the frame and picture will be one part, and the glass will be another part. Take your model and do the same; separate your model so that each part that you want to have a different texture is a separate mesh.

Step 2: Now that you have your model separated properly, lay out the UVs for each model. Once that's done, make a texture for each part of your model. Make a new folder anywhere in your Amnesia directory. Export the textures to that folder.

Step 3: Apply every texture to each part of your model in whatever program you are using and make sure you use the textures you put in the Amnesia directory, then select all your meshes and export all of them to the folder you created earlier with all your textures as a .dae file. NOTE: Do NOT combine the meshes into one mesh.

Step 4: Now open the Material Editor for Amnesia and create a .mat file for each texture you have and give each texture a unique property.

Step 5: Open up the .dae file you exported before into the Model Editor and all the textures should be there with the meshes.

Conclusion: If you followed all these steps correctly, you should now successfully have a model with multiple textures. Congrats [Image: biggrin.gif]


Eidolon Total Conversion (WIP)
(This post was last modified: 01-07-2012, 08:00 PM by Krymtel.)
01-07-2012, 07:58 PM
Find


Messages In This Thread
Tutorial: How to Apply Multiple Textures to a Single Entity - by Krymtel - 01-07-2012, 07:58 PM



Users browsing this thread: 1 Guest(s)