-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blurry background #1117
Comments
It's not really the type of thing dear imgui is designed for. Rendering wise, if we could mark the associated vertices in the draw data, the user-side render code could perform that sort of effect. An hacky-proof of concept would be that for each ImDrawList of the ImDrawData, you look at the first ImDrawCmd and use those vertices or just the bounding box to blur behind. Blurring typically involve multiple targets so getting that to work with an arbitrary number of floating windows may be tricky. |
Unrimp does that, check out the source... https://github.com/cofenberg/unrimp/ |
Code appears to be Don't quite understand where the blurring is done. |
@edin-purkovic Would you be so kind and build D3D9 and D3D11 example and upload the binaries since I cant seem to build the project so I can examine them with graphics debugger and figure out what's going on with that code. |
I assume you're on Windows and have cmake installed.. I had no problems building it with |
Yea, lowering the warning level did the trick. Thanks. |
Looks like he uses his own compositor framework and this shader/shader language for bluring the gui: |
I am going to mark this a closed issue, as it isn't really the desired scope of imgui and can be handled at user's level. If you find a nice solution or have screenshots to post don't hesitate to post them here! It's always nice to record references for others who might be interested in similar stuff. |
What would be the easiest way to achieve semi-transparent window with blurry effect in the way like IOS does it.
https://koenig-media.raywenderlich.com/uploads/2014/09/blurs.png
The text was updated successfully, but these errors were encountered: