![Shocked :shock:](./images/smilies/icon_eek.gif)
One of the biggest pitfalls when it comes to skinning is trying to look at how your colour changes in Photoshop affect the model in max. There is nothing worse than having to wait a few mins to render your item at some sort of high quality image just so you can see if the screw you've just done is in the wrong place or not. This alternative is not only quicker, but more effective as it uses a DirectX shader, so is more accurate in showing how it will look in game.
Here is Motherdear's model with a simple material under Max's normal settings. I've literally made a change to the wheels of this vehicle, but can only see about as much as a Urugyan Referee during an England vs Germany football match. I.E sweet F.A.
![Image](http://img694.imageshack.us/img694/2618/tut1u.jpg)
Lets make some changes then. First I want to change max so it displays in its highest display settings possible. To achieve this, right click on the name of the viewport which i located in the top left of said viewport. For example, in the top left of the perspective viewport in gray it says perspective. Give that fella a right click.
Woah whats this!?!? A menu? Scroll that fella down to where it says configure.
![Image](http://img709.imageshack.us/img709/3764/tut2hy.jpg)
We have now gained access to the viewport configuration panel. You need to acess the lighting and shadows tab. You then need to tell max to use the highest settings possible. (Best)
![Image](http://img696.imageshack.us/img696/8903/tut3.jpg)
Lets go back to our model. not bad, it has improved. but max's lighting settings are the worst, so we are going to manually place some light in there.
Select omni lights. If your using max 2009 and cannot find them, you need to change from photometric to standard and select it from there. Cheers Autodesk that was a useless addition.
![Image](http://img693.imageshack.us/img693/9813/tut4c.jpg)
Place three lights down on your scene. Don't bother changing their settings there is not point, default settings are more than enough.
![Image](http://img85.imageshack.us/img85/83/tut5r.jpg)
Your image should now be good enough for you to have a good look around at any changes you make. Simples hey?
Getting your model DIRECTX10IFIED
So we can now see our model pretty well now. We are feeling fairly good about things, but what if we want to see how it reacts in a game environment? you know, lights, shadows and shizz. this step is only really required when you have some form of bump map and spec map on the go, and want to see whether they work or not.
To achieve this we need to get a viewport shader.
Go to this URL and download Doylle's viewport shader (max 2009 fixed, not Xolis one!):
3dsMax Viewport Shader - Game Artist Forums
Save that bad boy and extract it into a folder you will remember. Now head back into max.
load up the material editor, and create a new material.
Instead of setting up your diffuse and bump maps, hit the standard button, and then chose DirectX shader.
![Image](http://img96.imageshack.us/img96/5089/tut6z.jpg)
We then click on the default 3ds max shader, then look around until we find doylles one we downloaded earlier (maxviewport1_1.fx or something). Add this material to your model.
Now before you start typing an angry post about how I've ruined your model and you cant see a thing, just relax. We havent told the shader what maps to use, or where our lighting is. Just breathe.
Firstly we need to tell the shader which three lights we want to use to light our model. To achieve this we select the three lights we placed earlier. We then need to ensure that the shader knows we are using 3 lights so make sure Active lights is set to 3 not 1.
![Image](http://img812.imageshack.us/img812/517/tut7.jpg)
After this, we need to tell it which maps to use. As it's a directx shader it only uses maps that it can read, so Jpeg's, .dds etc etc. Ensure you tick the tick box to activate that map, then click on the none button and find your map. Do this for your spec and Normal (bump) maps too.
![Image](http://img155.imageshack.us/img155/2092/tut8.jpg)
Play around with the lights and watch your model go! Weeeeeeeeeeeeee!
![Image](http://img149.imageshack.us/img149/1033/tut9f.jpg)
Lets Render this badboy!
Your model looks absolutly stunning. Your model is within Rhino's poly limits, the Uv's are perfect and you've got a spec bump and diffuse that could even make Stigger cower to your artistic genius. You press F9 when suddenly, you get this:
![Image](http://img413.imageshack.us/img413/4720/tut10.jpg)
DirectX 10 shaders do not like being rendered with max's default settings. What we have to do here is create a standard max shader. go to the material, click on a new material. Add the diffuse, spec and bump, then press render again.
![Image](http://img5.imageshack.us/img5/3523/tut11.jpg)
Wow it looks so...... average. Max's rendereing settings are not made for showing off your models, so we need to set up our scene for rendering.
First things first, lets add a Skylight. This bad boy will light up the whole of your model, however it does not affect the specular level or bump level of your model.
![Image](http://img30.imageshack.us/img30/3549/tut12t.jpg)
Go to your three omni lights now. Go to the modify tab, and lower two of them down to 0.4, and one down to 0.3. If we dont lower the values of these omni's down, we get a funny looking shiny object!
![Image](http://img340.imageshack.us/img340/4220/tut13.jpg)
Now we have to get max to get some settings in for a draught render. Download these render presets and place them somewhere you will remember:
http://www.4shared.com/file/8fpnWSzh/Ma ... esets.html
Press F10 to go to the rendering option, go down to the bottom and click on load preset. Load the Draught Render preset and it should have all the settings imported in. Presets are a bit like STDS, you can't see them working, but they are definitely making some changes under the hood.
![Image](http://img706.imageshack.us/img706/706/tut14.jpg)
Get your camera into a decent angle, I.e top left, bottom right, and then press render.
![Image](http://img810.imageshack.us/img810/1963/tut16.jpg)
Make any changes to the lighting. Move them around, decrease the intensity of the omni's or skylights, change the models position etc etc. When you finally have a good looking view, load up the good render preset, go watch some tv, come back, and profit.
With any luck, you should be able to produce images like these:
![Image](http://img706.imageshack.us/img706/8243/aav73.jpg)
![Image](http://img12.imageshack.us/img12/9895/ar10t1.jpg)
![Image](http://img15.imageshack.us/img15/2958/redender.jpg)