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.

2.5 Detailed Description of Material Parameters 392.5.10 Special MapsThe mia material also supports the following special inputs:2.5.10.1 Bump MappingThe bump parameter accepts a shader that perturbs the normal for bump mapping. Thisparameter is only used it the new bump mode parameter is zero.When no diffuse bump is off, the bumps apply to all shading components (diffuse,highlights, reflections, refractions... ). When it is on, bumps are applied to all componentexcept the diffuse. This means bumps are seen in reflections, highlights, etc. but the diffuseshading shows no bumps. It is as if the materials diffuse surface is smooth, but covered by abumpy lacquer coating.no diffuse bump is off (left) <strong>and</strong> on (right)In mia material x there are also three new parameters related to bump mapping: twovector bump inputs, overall bump <strong>and</strong> st<strong>and</strong>ard bump, <strong>and</strong> a bump mode parameterdefining the coordinate-space of those vectors. The shaders put into overall bumporst<strong>and</strong>ard bump should return a vector, but it is also legal for those shaders to modifythe normal vector themselves <strong>and</strong> return (0,0,0).overall bumpdefines an overall bump that always applies both to the diffuse <strong>and</strong> the specularcomponent at all times, regardless of the setting of no diffuse bump˙st<strong>and</strong>ard bumpis a vector equivalent of the old bump parameter, in that it applies globally whenno diffuse bump is off, <strong>and</strong> only to the specular/reflection “layer” when no diffuse bumpis on. However, the st<strong>and</strong>ard bump is added “on top of” the overall bump result.

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

Saved successfully!

Ooh no, something went wrong!