|
||||||||||||
|
|
|||||||
| Register | FAQ | Forum Rules | Members List | Calendar | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Game-Artist.net Admin
|
3dsMax Viewport Shader
![]() This is a viewport shader i've been working on in the last few weeks. Some people asked me if they could have it, so I made this version with the most common maps. There are a number of known issues i have yet to fix, like the number of lights, the specular/glos settings. How to use: Open your material library, and instead of choosing a Standard material, choose a DirectX Shader. Keep old material as submaterial. Now browse to your fx file and apply the material to your model. Make sure that you have two omnilights in your scene, and that you set both of the in the shader, if not rendering will not be correct. ![]() ![]() ![]() Current Features - Ambient Lighting - Diffuse, Transparency, Specular, Gloss, 2 times Normal map, Self illumination and shadowmap. - Sharpen option for diffuse texture - Detail normal with adjustable strength - Rim light effect - Up to 3 point lights To Do list: - Add Cubemap Reflections - Light distance attenuation - ... Suggestions and requests are very welcome, Updates July 15th, 2008 - added a newer version that supports up to 3 lights. The rest of the code has not been changed. August 17, 2008 - Cleaned the pixelshader somewhat, added a few new features (Ambient light, Detail normal map, SI map mulitplier, sharpen feature for the diffuse map. October 21, 2008 - Nathan "NFollmer" Folmer send me a tweaked version of V1.1 that works with max 2009, which is now added to the list. November 26, 2008 - Xoliul edited my shader and made it perfect for cars and shiny objects. (it has cubemap reflections, and realtime shadows (for max2009)) Samples ![]()
__________________
![]() Jeroenmaton.net - Scetchbook Thread - 3dsMax Viewport Shader - Ten Texturing Tips - Supports good crits - Last edited by doylle; 11-26-2008 at 01:57 AM. |
|
|
|
| The Following 27 Users Say Thank You to doylle For This Useful Post: |
|
|
#3 (permalink) |
|
Founder of Statspaddling
|
That's a pretty neat shader you got there Doylle. As for the diffuse/specular I didn't really notice much of a change from the default one other than that yours had a bit more saturation to it.. though it really worked well with the normals
![]() Havn't tried out any other maps yet tho. Well, if one may request something.. then I guess it'd be being able to use DX display. But perhaps one can already? I've never actually used these shader thingies before ![]() Cheers
__________________
|
|
|
|
|
|
#5 (permalink) |
|
Game-Artist.net Admin
|
It does support alpha's, but only in the diffuse. There shouldn't be any harm in putting alpha's in other textures, although they will not do anything... Could you post a screenshot of the mesh and the current shader settings? That might help out a bit.
thanks for the heads up ![]()
__________________
![]() Jeroenmaton.net - Scetchbook Thread - 3dsMax Viewport Shader - Ten Texturing Tips - Supports good crits - |
|
|
|
|
|
#6 (permalink) |
|
Freelancer
|
It only happens with the diffuse, if i turn the checkerbox off everything shows correctly (without diffuse map ofcourse).
It seems to only have this issue with .TGA textures. jpg and dds works fine. http://img519.imageshack.us/img519/8...board03oa3.jpg |
|
|
|
|
|
#8 (permalink) |
|
Game-Artist.net Admin
|
cheers guys...
@ chris89: Is it possible that your tga is not a power of two? Appearently those don't work either, I found out by accident, and my mesh turned black too. So I think there's a chance that you have the same problem...
__________________
![]() Jeroenmaton.net - Scetchbook Thread - 3dsMax Viewport Shader - Ten Texturing Tips - Supports good crits - |
|
|
|
|
|
#9 (permalink) |
|
Senior Artist
|
Hmmm, I am running max 9, but the shader gives me an error (i don't get any parameters). Anyone else have this problem?
__________________
![]() 3D artist at http://www.thinkplaystudios.com/ My Portfolio: http://www.francoisstelluti.com |
|
|
|
|
|
#10 (permalink) | |
|
Game-Artist.net Admin
|
Quote:
![]()
__________________
![]() Jeroenmaton.net - Scetchbook Thread - 3dsMax Viewport Shader - Ten Texturing Tips - Supports good crits - |
|
|
|
|
![]() |
| Bookmarks | |||
Digg
|
del.icio.us
|
StumbleUpon
|
Google
|
| Thread Tools | |
| Display Modes | |