Home Technical Talk

Additive transparency in Maya?

polycounter lvl 18
Offline / Send Message
Conor polycounter lvl 18
Can anyone tell me how to set a material to additive transparency in Maya? I want to create a muzzle flash using a texture that has no alpha channel - just a white/yellow/red/black flame gradient. The black part of the material should render as transparent and the other colors should add to the colors behind them, just like screen blend mode in photoshop.

Replies

  • pyromania
    Options
    Offline / Send Message
    pyromania polycounter lvl 18
    If you map the Out Alpha from the file node into a reverse node, then take the output from the reverse node into the Out Transparency of your material.
  • Conor
    Options
    Offline / Send Message
    Conor polycounter lvl 18
    That's a nice trick - but it looks nothing like additive blend mode sorry. Anyone else want to give it a try?

    In max you just open the material editor, expand the extended paramaters and set the advanced transparency to 'Add'. Is there some equivilent flag buried somewhere in Maya?
  • Faucet
    Options
    Offline / Send Message
    Faucet polycounter lvl 18
    I don't think it's possible to do in the view ports, but make a surface shader with transparency set to white and use your file texture as color.

    If you want you can make a Blinn or Lambert shader and set transparency to white and toss your texture into incandescence. This will give the same result though a surface shader will render faster since it won't calculate surface lighting.

    Hope this helps.
Sign In or Register to comment.