Render hdri in ImGUI Image (in viewport) #3831
Replies: 2 comments 3 replies
-
This strikes me as a question outside of the scope of Dear ImGui. ImGui doesn't care about how you render your scene.
This is a sensible use of |
Beta Was this translation helpful? Give feedback.
-
I think the crux of the question is:
Some answers:
Solution is to set your mind free from dogmas :)
Hmm.. Nothing strikes me as not portable there? |
Beta Was this translation helpful? Give feedback.
-
Hi guys,
Im using the docking branch and ImGUI with opengl backend. I am rendering opengl into a framebuffer and then add this to ImGui::Image, work pretty nice:
I use a simple directional light fragment shader.
My question is: If you want to light the scene with an hdri (different shader), how can I combine this with the framebuffer? Does someone has an example or can tell me the basic steps, just to be on the right track.
Thx in advance!
Jay
Beta Was this translation helpful? Give feedback.
All reactions