11.07.2015 Views

mental ray Architectural and Design Visualization Shader Library

mental ray Architectural and Design Visualization Shader Library

mental ray Architectural and Design Visualization Shader Library

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

108 5 General Utility <strong>Shader</strong>sThis is better, but still nowhere near a “smooth” glossy reflection. The 100 samples made therendering an order of magnitude slower, <strong>and</strong> it is still not enough! What can we do?What we want to is not look up the environment multiple times. Not 8 times, nor 100 times,but once, except we want that lookup to already contain the desired blur!This is accomplished by enabling the single env sample parameter of mia material<strong>and</strong> thenapply mia envblur as our environment shader <strong>and</strong> our “original” environment map as theenvironment parameter of mia envblur.Going back to our original 8 glossy samples, the following result can be rendered, very quickly:Glossy reflections using mia envblurThis looks much better, <strong>and</strong> renders much faster, but the level of blur is constant. A much moreadvanced way is to let mia envblur derive the blur to apply by enabling mia material blur.Assume we have applied the following map to the refl gloss parameter of the mia material:

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!