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!

  • 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 Jul 21 '17 at 17:13

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.