List all materials used in scene

I should note, that you can’t just do an if shading_engine: check against them. As that will always return True, you have to explicitly check their size with len. Though if shading_engine.entities(): will work just fine.

I know right?