Skip to content

๐Ÿช Simple ImGui DirectX9 Blur Effect Example Project.

License

Notifications You must be signed in to change notification settings

3r4y/imgui-blur-effect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

imgui blur effect

๐Ÿช Simple ImGui DirectX9 Blur Effect Example Project.

C++ Windows x64

๐Ÿ“– Overview of the project

Simple Project with Blur effect to external overlay made using DirectX9, ImGui.

This project helps to add blur to the image I use in imgui, it can be used with more components, not just images. If you want it for directx11 a different solution is available here: https://github.com/3r4y/ImGuiGaussianBlur

This project was made by making additions on the project I shared before.

๐Ÿ›  Used librairies :

๐Ÿงช How do use this project ?

  • clone the project.
  • Add the imgui files to your project.
  • If you are getting compile error, include DirectX SDK in your project.
  • include these files in your project : bBlur.hpp,blur.hpp,blur.cpp and blur_binary.h. example :

import bBlur.hpp.

#include "bBlur.hpp"

auto draw = ImGui::GetWindowDrawList();
bBlur->blur_background(draw, DirectX9Interface::pDevice);//	IDirect3DDevice9Ex* pDevice

Open your project setting --> Navigate to VC++ Directories --> On the right, select Includepaths --> A new window will open, that lets you new include paths. Add a new include path by hitting the New Row button in the top right --> Now you will have to navigate to your DirectX SDK installation directory and select the Include folder.

๐ŸŽจ Demonstration

no blur :

rickroll

blur :

rickroll