3r4y / imgui-blur-effect

🪁 Simple ImGui DirectX9 Blur Effect Example Project.
MIT License
43 stars 3 forks source link

how to use in openGL? #1

Open moebiussurfing opened 1 year ago

moebiussurfing commented 1 year ago

hey @3r4y , thanks for sharing. Do you know if it can be converted to use in an openGL environment>

3r4y commented 1 year ago

Most of this project was developed based on imgui, I think you can easily convert some directx functions by finding opengl alternatives. some examples : https://github.com/cofenberg/unrimp/ https://github.com/cofenberg/unrimp/blob/45aa431286ce597c018675c1a9730d98e6ccfc64/Renderer/RendererRuntime/src/DebugGui/DebugGuiManager.cpp https://github.com/cofenberg/unrimp/blob/45aa431286ce597c018675c1a9730d98e6ccfc64/Renderer/RendererRuntime/src/DebugGui/Detail/Shader/DebugGui_GLSL_410.h https://wiki.libsdl.org/SDL2/SDL_Renderer https://rosettacode.org/wiki/OpenGL_pixel_shader https://github.com/ocornut/imgui/issues/4768

maybe in the future I can in all graphical environments.