Closed Azorlogh closed 1 month ago
Linear RGB values, such as those used in emissive materials, should not be clamped to 0.0-1.0 as they can exceed it (See https://docs.rs/bevy/latest/bevy/pbr/struct.StandardMaterial.html#structfield.emissive)
Currently, inspecting a material with exceeding values will clamp them as soon as the menu is opened
I think this is the relevant location: https://github.com/kristoff3r/bevy-inspector-egui/blob/044f3d28243b5f30a594088bd8c56eeaac1868d4/crates/bevy-inspector-egui/src/inspector_options/default_options.rs#L75C5-L75C26
fixed in f931976
Linear RGB values, such as those used in emissive materials, should not be clamped to 0.0-1.0 as they can exceed it (See https://docs.rs/bevy/latest/bevy/pbr/struct.StandardMaterial.html#structfield.emissive)
Currently, inspecting a material with exceeding values will clamp them as soon as the menu is opened
I think this is the relevant location: https://github.com/kristoff3r/bevy-inspector-egui/blob/044f3d28243b5f30a594088bd8c56eeaac1868d4/crates/bevy-inspector-egui/src/inspector_options/default_options.rs#L75C5-L75C26