I want to add some custom color type shading in blender 2.8.

I found out, that space_View3d.py is the code that draws this part of the UI: VIEW3D_PT_shading_color

It looks like this is just some sort of enum, that can magically create the UI for it.

enter image description here

So how do I either extend this property to add my own color type or possibly inject my own UI in the Shading panel for adding my own options? I want to add a mode to draw the scene using the vertex colors.

Any tips on how to implement that also would be helpful


Your Answer

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

Browse other questions tagged or ask your own question.