PDA

View Full Version : Hardware Shaders in Max


Jol
02-27-2002, 03:02 PM
Hi I'm doing a bit of research on Hardware (Pixel and Vertex) Shaders in Max.

Max 4 ships with a Hardware Shader which is a simple cubic reflection map hidden in a folder called 'HardwareShaders' within the 'Plugins' folder. You can activate this by configuring plugin and map paths to find it. If you have a card that supports it (GeForce 2 and above) you can now access a Pixel Shader through the materials editor. Apply it, and make visable in viewport, and 'Hey Presto' you have real time reflecting chrome effect .

This Shader doesn't render but does show how a similar Pixel Shader would look realtime in a game. After contacting our supliers I've managed to get Membrane, Blinn Bump, Cartoon and Fur shaders which will work in the Max viewport real time on a GeForce 3 card. These shaders are ports of the shaders Nvidia give away free (check out their developer site and down load their 'Effects Browser 2.0').

So the question is 'Does anyone know a way of using Max's material editor to 'edit' these Shaders. Or does anyone know of any developments towards a GUI style editor for Hardware Shaders. Apparently Lithtech do have such an editor but it is bundled with in their compleat games SDK.

leigh
02-28-2002, 06:56 PM
Hey there
Hmmm... I doubt you will be able to edit them in Max's material editor. Shaders are usually completely seperate pieces of programming, not editable materials.
But I'm not too clued up about this sort of thing, just thought I'd contribute :)

Jol
02-28-2002, 07:10 PM
I'm with you on them being seperate pieces of programming. However they can be set up to make some parameters available through max. Forexample the port of Nvidias Blinn Bump shader give you the ability to change bump height through a spinner in the material editor.

I guess what I'm looking for is whether anyone is developing tools which enable these sort of parameters to be changed/edited through a GUI rather then in code. The end aim would be an Artist's Tool for game development and implimentation of Hardware shaders which uses Max as it's interface.

This seems a logical stem as so much game content passes through Max in the first place. Discreet/Max are approved middle ware vendors for Xbox which will be using a large number of Pixel and Vertex Shaders.

Anyone any ideas or thoughts.

Jol

CGTalk Moderation
01-13-2006, 01:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.