Post #674: Sp

📋 Metadata

🏷️ Tags

macro hotkeys intermediate solved

  • Macro Editor
  • Python Scripting

💬 Content

SpdB3d:

Ambient Occlusion does not show at all.

This is the code I use to toggle ssao, just throw it in a script and link to it with pme.

for area in bpy.context.screen.areas: if area.type == ‘VIEW_3D’:
space_data = area.spaces.active
fx = space_data.fx_settings
fx.use_ssao = not(fx.use_ssao)
break


🔗 View on Blender Artists