1
$\begingroup$

I'm tired of switching back and forth smooth shading for all my objects in the viewport before rendering. Is there a way to have it only turned on for rendering similar to the buttons in modifier for example?

Alternatively is there a way (possibly a script) with which I can set all meshes to smooth/flat with one button only?

Thank you!

$\endgroup$
1
  • 1
    $\begingroup$ imho not, but one (complicated) way would be to create a script that enables it, renders, then disables it... then you could create a custom button to render in that way,,, $\endgroup$
    – m.ardito
    Commented Jul 21, 2017 at 17:13

1 Answer 1

2
$\begingroup$

We can create an operator that will set the shading for all objects. This can be added to the render panel so you have buttons to set smooth and flat shading right above the render button. I have created an addon here to do this, which you can download and install. If you enable the addon and click Save User Settings you can have it enabled every time you run blender.

Keyboard shortcuts can also be setup for quick access, in the addon I setup ⎇ AltF12 to set smooth shading and ⇧ Shift⎇ AltF12 to set flat shading.

render panel

$\endgroup$
1
  • $\begingroup$ Wow this is pretty much what I asked for and seem to work, thank you very much! $\endgroup$
    – user36720
    Commented Jul 27, 2017 at 11:35

You must log in to answer this question.