How to build a Shader for Anodized Aluminium

Blender Asked by Old Man on December 7, 2020

I have modelled this smart phone based on Iphone 6 reference images. The rendered image of the back of the phone looks like this:

If I look at real life images of this “Iphone 6 Space Gray” I feel that “my phone” misses some fine grain and a “metal sheen”. Like these images

My shader looks like this (like suggested here)

I would like to build a shader that gives a realistic look of the apple iPhone space gray material. I also had a look here … this shader is based on an anisotropic shader which I feel that should be the way to go. It also has the fine grain … but I don’t think it is the solution (and this is also too complicated for me; I would like to understand it). So .. how to build a realistic shader for this apple material ?

Concerning the proposed solutions: I really like the solution suggested by PGmath. When applying his material to my iPhone this is the result.

As I am intrigued by Physically Based shaders I picked up the suggestion of Paul Brachmann and proposed a PBS based solution using the work of PGmath

Here's what I have come up with.

The shader consists of a little bit of diffuse mixed into some fairly rough gloss, with a smoother Fresnel gloss mixed in at the end. I also noticed that the gloss on you reference image has a very slight, yet distinct, variation in reflectance across the phone. To simulate this I added a noise texture controlling the roughness of the two glossy shaders.

Here is my node layout:

Click to enlarge.

A few notes:

• I am using Geometry > Position as mapping coordinates for the noise texture to get even scaling. Using generated coordinates on an object with a non-cuboidal bounding box results in stretching.
• I use an RGB Curves node to bump up the contrast.
• All the math nodes just remap the [0,1] range of the texture to the desired ranges for the glossy roughnesses.
• The colors in the above node layout are for the gold shader on the right of the render. The silver one just uses grey in all 3 shaders (light grey for the glosses and slightly darker for the diffuse).

Correct answer by PGmath on December 7, 2020

Am I completely on the wrong track by saying that the recently (2016?) introduced Anisotropic shader does exactly what the shader by @PGmatch does above? (And by extension also the principled shader, if used mostly for it's anisotropic slider?)

In the screenshot below I just downloaded @PGmaths blender file, added a HDR texture instead of the lights and duplicated one of the cubes with a simple Principled shader?

Answered by Bersaelor on December 7, 2020

Anyway this is the result of the render (using the test setup of PGmath). The silver object has the PBS shader, the gold object the PGmath shader.

Answered by Old Man on December 7, 2020

I came up with this physically based shader:

Basic Setup (including custom pbr node groups):

I hope you can use it as a starting point for your final shader. But of course it largely depends on your lighting situation how the shader actually will look (although pbr certainly helps).

Answered by Paul B. on December 7, 2020

Related Questions

Older Version of Blender for ARM processors?

1  Asked on December 6, 2021 by crankbolt

AN – How to get a specific pixel of a texture?

0  Asked on December 5, 2021 by blenderuser123

How do I make a walking and running sound?

1  Asked on December 4, 2021 by zcgamer

Image on Plane disappears at specific position

1  Asked on December 4, 2021 by deven

F-curves: Generating transformation matrix

1  Asked on December 4, 2021

Steps to create new faces between 2 selected meshes?

0  Asked on December 4, 2021 by geuis

How I manually fix my grass mesh normals so all textures are visible?

0  Asked on December 4, 2021 by ched

blender closes on startup

1  Asked on December 4, 2021 by tamilore-joseph

Normal Bake Artifacts

1  Asked on December 4, 2021

How do I make the leg and only the leg to move without pulling the body object

0  Asked on December 4, 2021 by mr-mr

Flask crashes blender when ran in command line

1  Asked on December 4, 2021

Texture Painting – stencil disappeared

0  Asked on December 4, 2021 by henry-koether

1  Asked on December 4, 2021

Weird light fall of on spheres

1  Asked on December 4, 2021 by justin-w

Live, real time video, compositing onto a virtual studio

2  Asked on December 2, 2021 by dakisan

Not able to play full animation but in preview its playing fine

2  Asked on December 2, 2021

Model looks strange when zoomed out

2  Asked on December 2, 2021 by mookorea

Cryptomatte – What Crypto00, Crypto01, Crypto02 means?

1  Asked on December 2, 2021 by vklidu

Is there a tool in blender that is similar to the ‘blend’ tool in Illustrator?

2  Asked on December 2, 2021 by justin-tiger-reinsma