Multi pass realtime shader in max

Hi

I’m trying to write a bloom effect using a renderTarget but I’m not getting very far with it, does anyone know if it is definitely possible in the max viewport? If so is there an example around?

Thanks
d.b

It is possible, yes. Max ships with a sample FX file called HammerTime.fx that illustrates how it works.

Ah I didn’t know that, thanks for putting me on the right track :smiley:

d.b

Oh great it is good i like it.

anyone know if full screen effects can be done in the new directX11 viewport in Maya2013.5?

I don’t think full screen effects can be done in Maya, no. I helped to write the default “Uber” shader that Maya is using in 2013.5 and I far as I know, shaders can only be applied to meshes, not to the viewport. I could be wrong about this though. I’m certainly not a Maya expert.

Hmm, although now that I think of it, I know it’s possible to do depth of field, SSAO, etc - so they are doing full-screen effects. I just don’t think that there is an easy interface for an end user to apply a custom shader there.

Dont quote me on this but I think its possible through the viewport 2.0 api. Might have to see how they are doing SSAO.