Page MenuHome

2.77.3 Textured viewport smooth shading regression
Closed, ResolvedPublic

Description

System Information
Ubuntu MATE 16.04.1 64-bit
Windows 7 x64

Intel HD3000
NVIDIA GTX 580M

Blender Version
Broken: 2.77.1 (a3ce64b)
Broken: 2.77.3 (a0c1876)
Broken: 2.77.3 (040fa75)
Broken: 2.77.3 (f990518)
Working: 2.77a

Short description of error
Textured viewport shading artefacts for smooth shaded objects

Exact steps for others to reproduce the error

  • Open attached blend file
  • Without clicking any objects, navigate around textured viewport (at this point all is well)
  • Enable sphere's subsurf modifier
  • Navigate once again around textured viewport (observe cube's shading change)

Alternatively, watch a video of the issue

How-to:
Create the issue from scratch

  • Open Blender 2.77.3
  • Set default cube to smooth shading
  • Add a sphere
  • Add a subsurf modifier to the sphere (disable subsurf for viewport)
  • Switch to textured viewport
  • Enable sphere's subsurf modifier
  • Navigate around the viewport

Originally reported as part of the bevel modifier regression bug report, now separated
Previously uploaded video highlighting the issue (part of a complex scene)

Before someone mentions it :)
Normally flat objects wouldn't be smooth shaded. In the complex scene above, simple objects with smooth shading also have bevel modifiers.

Thank you

Event Timeline

Bastien Montagne (mont29) lowered the priority of this task from 90 to 50.Aug 10 2016, 1:14 PM

Looks like some bad GL state handling maybe? Disabling again subsurf, or even fully reloading the file, does not fix the issue…

@Mike Erwin (merwin), maybe you want to have a look on this one?

In case helpful isolating commit/s that may have broken textured GL drawing.

Just discovered, enabling an OpenSubdiv compute device in user prefs, then enabling 'Use OpenSubdiv' in the sphere's subsurf modifier corrects the viewport textured GL drawing issue. Disable 'Use OpenSubdiv' in subsurf, and issue returns.

Sergey Sharybin (sergey) changed the task status from Unknown Status to Resolved.Aug 24 2016, 2:44 PM
Sergey Sharybin (sergey) claimed this task.

This was actually resolved in rBcf53389. So thanks for the report, but it's nothing to be fixed here now :)