Page 1 of 1

Separating Shaders On Custom Models

Posted: Wed Jan 09, 2008 2:24 am
by DarkShallFall
Intro:
This tutorial is going to explain how to separate shader groups on a custom model.

First extract the model you are going to be replacing, with entity(I'm using 1.4 for this tutorial)
Image

Every model in Halo 2 has at least one or more shaders. When you extract a model there will be mesh groups, these groups will identify the shader grouping. So open the extracted model in a modeling application(I will be using Misfit model 3d for this)
Image
Image
This is the group window:
Image
The bitmap that the group is dependent on is usually close or exactly the same as the shaders name that it represents.

There are two groups for each shader. The bottom group is the one that is the actual shader.
So it goes(Red is the used one)
0
0
1
1
2
2
Image

Merge your model into the extracted model.
Image
Image

Select the original mesh that you extracted form halo and hide it.
Image
Image

After that select part of the mesh you want as a different shader from the rest.
Image

Once selected you can add it to a group, to do that click the add to group button in the grouping menu and all the selected faces will be added to that group.
Image

After that, unhide the mesh you hid before. The reason we had to hide it is because if you delete it the groups that are there with it are also deleted.
Image
Then reselect the mesh and delete it.
Image
Image
Then save and inject back into your map and enjoy a model with separated shaders :)
Image

Re: Separating Shaders On Custom Models

Posted: Wed Jan 09, 2008 4:28 pm
by XZodia
format it better then ship it off to the tutorials section :wink:

Re: Separating Shaders On Custom Models

Posted: Sat Jan 12, 2008 1:27 am
by DemonicSandwich
Indeed, I'm glad you finally did it.
I thought I may have to right it... :?

I'll let it stay here you a short time to gain replies then maybe it shall be moved...

Re: Separating Shaders On Custom Models

Posted: Sun Jan 13, 2008 10:30 pm
by Rockymods
Mine won't inject for some reason. I'll give it a second go, I most likely messed something up

Re: Separating Shaders On Custom Models

Posted: Sun Dec 07, 2008 4:51 am
by Dragonfire
Rockymods wrote:Mine won't inject for some reason. I'll give it a second go, I most likely messed something up
Weld ur vertices. ;)

Hey dark, could u more complete this? with maybe like the shader making portion or something...?