bevy_vello icon indicating copy to clipboard operation
bevy_vello copied to clipboard

Bevy vello Ignores bevy's camera projection scaling.

Open StarArawn opened this issue 7 months ago • 2 comments

Bevy vello seems to ignore the size of your projection which might be different from the size of your physical rendering area.

Bevy scales the projection using this enum: https://docs.rs/bevy/latest/bevy/render/camera/enum.ScalingMode.html

I think bevy vello should be able to match the output from these scaling modes.

StarArawn avatar May 24 '25 22:05 StarArawn

@StarArawn How would this work, does it have anything to do with DPI and such or is this purely about the camera projection?

RobertBrewitz avatar Jun 23 '25 20:06 RobertBrewitz

@StarArawn How would this work, does it have anything to do with DPI and such or is this purely about the camera projection?

I mean DPI scaling is always something that UI will have to contend with, but this is mostly just a camera projection thing. If you're making a UI for a game which uses pixel integer scaling you'd want the UI to also match that style.

StarArawn avatar Jun 24 '25 00:06 StarArawn