Home Technical Talk

3ds max 2009 FX shader talk

polycounter lvl 7
Offline / Send Message
toren3d polycounter lvl 7
Hi guys, Ive been trying to find a nice solution for taking screens of objects in the Max viewport. I'm using Max 2009 with SP1 on Vista 32 with an Nvidia 8600gt.

I would like to show models with several 'real-time' effects, basically, as an alternative or supplement to showing something in an engine, like UE3, for example.

What Im looking for, is a way to show real-time viewport shadows, with 8-bit alpha, using diffuse/spec/normal/self-illum and cubemap relfections. I have found some solutions (Imrod shader, other FX shaders) however, none support 8-bit alpha or viewport shadows (glass is either completely diffuse color, or invisible), and each seem to have their own quirky flaw, such as showing up black, inverting normals, etc.

To give an example, MetalBump9 has proven to be very good so far, almost what I would like to see, because of its great cubemap abilities, but again, it has the alpha problems. This 'ideal' Im looking for may not be possible, but I feel its worth a shot to try out some things, and see if anyone has found a solution to this.

So basically, Im asking, if anyone has found a great FX shader (or modified/created one) they are willing to point me to. Additionally, this might be a good thread to ask other shader questions, related to Max 2009.

FYI, the particular model Im having trouble with at the moment, is a car. The windows are either 100% diffuse color, or invisible, and I feel there arent enough specular parameters for it to get that nice metal-look.

Also, I've just gotten my hands on ShaderFX, so if anyone has a nice tutorial or scene file, or knows of a way to address these issues using it, that would also be appreciated. :)

Replies

  • Rob Galanakis
    Options
    Offline / Send Message
    Learn how to use ShaderFX. It will do everything you need or more.
  • Neox
    Options
    Offline / Send Message
    Neox godlike master sticky
    shaderfx is definitely the way to go, but keep in mind that softalphas won't get better with it, it's just max' way of sorting things, instead of sorting depending on viewdepth it sorts deopending on creation time, so if you want something to sort in front of another softalpha plane, detach all to have a new object, delete the old / now empty one.
  • toren3d
    Options
    Offline / Send Message
    toren3d polycounter lvl 7
    Learn how to use ShaderFX. It will do everything you need or more.

    Thanks for the response guys. Looks like ShaderFX is the way to go. After some time experimenting, I was able to get much closer to the look I was going for:

    challenger_max_1.jpg

    And here is the node layout, just in case anyone is curious:

    challenger_shader.jpg

    Looks like I will need to take your advice Neox, and detach/re-attach the window glass, because only the side windows are showing the alpha in a correct manner.
  • fritz
    Options
    Offline / Send Message
    fritz polycounter lvl 18
    hey toren....not to derail your thread....but did you find shaderFX easy to use? thinkin bout picking it up. thanks. car looks great
  • Ben Cloward
    Options
    Offline / Send Message
    Ben Cloward polycounter lvl 18
    Both car and shader look very cool, Toren. Nice work! Be sure to let me or Kees know if there's anything else you need ShaderFX to do that you can't get it to do currently.
  • Rob Galanakis
    Options
    Offline / Send Message
    Both car and shader look very cool, Toren. Nice work! Be sure to let me or Kees know if there's anything else you need ShaderFX to do that you can't get it to do currently.

    Can it get water working in our game?
  • toren3d
    Options
    Offline / Send Message
    toren3d polycounter lvl 7
    Yes, fritz, found it really easy to use. Of course, it may be because of my prior Maya (node based as opposed to default Max) experience or tinkering with the UE3 material editor, which has a similar layout.

    To get that cubemap reflection working, I followed this tutorial: [ame]http://www.youtube.com/watch?v=k_SC2r4txhU[/ame]
    And then I toned down the reflections (the car was like pure chrome after following that tutorial) via a multiply (which you can learn how to do via the intro tutorials that pop up when you first launch max with shaderfx installed)

    Hey Ben, thanks for your response, and of course all your hard work on the program, its really great! I will be using it to spruce up my older portfolio pieces now that I know how to use the light manager and activate in-viewport shadows (Which was one thing I was having troubles with).

    If I think of anything that would be nice to see in an update, I will definitely let you know! :)
Sign In or Register to comment.