Page MenuHome

Glass material and smooth shading generates unwanted dark area
Closed, ArchivedPublic

Description

System Information
windows 10 , gtx 1060
Blender Version
Broken: 2.79a

Short description of error
The water in the glass, when using smooth shading, it has dark area. when using flat shading, there is no dark area.

Exact steps for others to reproduce the error


Details

Type
Bug

Event Timeline

This is not a bug.

If you activate smooth shading without limiting the max angle ALL faces are smoothed. Including the face transitions that should stay hard.
There are several ways to solve this. The two simplest are:

  • Activate "Auto Smooth" in the object's data tab. The default angle of 30° works perfectly in your scene.
  • Add an "Edge Split" modifier to your object. It also defaults to 30° and keeps the upper edge hard while smoothing all the others.

P.S.: You should also scale your liquid model up a tiny bit so it overlaps the glass. Otherwise you get a wrong shading where you can kind of see the thickness of your glass.

Brecht Van Lommel (brecht) claimed this task.