Open forestrf opened 2 years ago
I added another commit to add more default stuff from Unity:
if (UnityEngine.Rendering.SupportedRenderingFeatures.active.editableMaterialRenderQueue) {
materialEditor.RenderQueueField();
}
materialEditor.EnableInstancingField();
materialEditor.DoubleSidedGIField();
I wanted the material gui to render the labels, controls and everything the same way the default one does. Searching around with ILSpy to see how they do it I found that, fortunately, it was done with a single line.
This is how it looks before and after the change: