Highlight burn in vray frame buffer

Hello!

I was wondering if there is an expression you guys could share with us that would replicate the highlight burn slider inside Nuke. Everyone once in a while we have artists who dial a look within the VFB, but then when it comes to doing the same grade in nuke it is just done by eye. It is not a huge deal to do it this way, but it would be nice to have a consistent result between the two. The highlight burn seems to have a better response than the built in nuke soft clip.

Thanks for the help.

In digging through the forum I this from Vlado. It seems to match up correctly. Hopefully you guys can verify this is the right expression for the VFB.

Code:
red =r*(1+r*(burn**2))/(1+r)
green=g*(1+g*(burn**2))/(1+g)
blue =b*(1+b*(burn**2))/(1+b)

I can confirm that this is the formula, yes.

Best regards,
Vlado

Actually I would love to have a button, that will generate nuke script nodes from all FB corrections, as I so use to work with FB in 3ds max, but there you can save sequences from VFB, and as I know Maya do not has this setting (Save separate render channels) If it is possible It would just awesome!