๐ช Simple ImGui DirectX9 Blur Effect Example Project.
๐ 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
andblur_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