galacean / engine-toolkit

Some out-of-the-box utility features based on the Galacean engine.
https://oasisengine.cn
MIT License
72 stars 25 forks source link

Framebuffer picker size automatically adjusts to match the dimensions of the engine's canvas #259

Open JujieX opened 5 months ago

JujieX commented 5 months ago

Is your feature request related to a problem? Please describe. The framebuffer picker's size is dynamically configured to maintain a consistent ratio relative to the engine's canvas dimensions. For example, if the desired ratio is one-half, the render target size of the framebuffer picker will automatically resize to be half the size of the canvas, rather than being locked to a fixed size.