Separating Shaders On Custom Models

This if for tutorials and information for the community to use for great works.
Keep them organized now!..
Post Reply
DarkShallFall
Posts: 710
Joined: Thu Jan 03, 2008 5:29 pm

Separating Shaders On Custom Models

Post 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
User avatar
XZodia
Staff
Posts: 2208
Joined: Sun Dec 09, 2007 2:09 pm
Location: UK
Contact:

Re: Separating Shaders On Custom Models

Post by XZodia »

format it better then ship it off to the tutorials section :wink:
Image
JacksonCougar wrote:I find you usually have great ideas.
JacksonCougar wrote:Ah fuck. Why must you always be right? Why.
User avatar
DemonicSandwich
Trollwich
Posts: 1620
Joined: Sat Dec 08, 2007 9:47 pm
Location: I...huh...I don't really know. x.x

Re: Separating Shaders On Custom Models

Post 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...
Model Customization Pt.01|Model Customization Pt.02|Bipd Attachments|True Marker Rotations
"I'm the h4x man! Skibby Dibby Dib YoDahDubDub, YoDahDubDub"
Rockymods
Posts: 246
Joined: Mon Dec 10, 2007 3:15 am

Re: Separating Shaders On Custom Models

Post by Rockymods »

Mine won't inject for some reason. I'll give it a second go, I most likely messed something up
User avatar
Dragonfire
Posts: 1328
Joined: Thu Feb 21, 2008 9:20 pm
Location: Michigan, USA
Contact:

Re: Separating Shaders On Custom Models

Post 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...?
Image
Post Reply