jakobhellermann / bevy-inspector-egui

Inspector plugin for the bevy game engine
Apache License 2.0
1.15k stars 169 forks source link

Add missing fields to StandardMaterial inspector #57

Closed paul-hansen closed 2 years ago

paul-hansen commented 2 years ago

Adds cull_mode, flip_normal_map_y, double_sided, and alpha_mode fields to the inspector for StandardMaterial.

Noticed these fields were missing when I was trying to debug why my alpha texture wasn't working. Thought it was something easy I could add that might be helpful. If they were left off for a reason let me know.

Not used to working in a #[rustfmt::skip] block, happy to correct any formatting. Attempted to match what was already there.

Thanks for this plugin, it's extremely helpful!

jakobhellermann commented 2 years ago

Thanks!