Search found 20 matches
- Sun Nov 12, 2017 22:22
- Forum: Help
- Topic: [Solved] CEGUI custom rendering
- Replies: 12
- Views: 10486
Re: CEGUI custom rendering
Okay, I need to draw my own content on top of the Parent window but beneath the Child window. The thing I want to draw is essentially a mask, that way the Child window looks special. Imagine you are playing a game, a warning pops up and everything except for the warning window gets darker? I want th...
- Sun Nov 12, 2017 20:20
- Forum: Help
- Topic: [Solved] CEGUI custom rendering
- Replies: 12
- Views: 10486
Re: CEGUI custom rendering
I apologize for not making things clear, Parent and Child are CEGUI::Window s, Context is the CEGUI::GUIContext that contains Child and Parent. Parent contains Child as a child window. I want to separate the rendering of Parent and Child. RTT doesn't seem to do that because it draws the whole GUICon...
- Sun Nov 12, 2017 15:19
- Forum: Help
- Topic: [Solved] CEGUI custom rendering
- Replies: 12
- Views: 10486
[Solved] CEGUI custom rendering
My goal is to draw a child window separately so that i can draw things in between the rendering process of GUI my draw function looks something like this GetRenderer()->beginRendering(); Child->setVisible(0); //make it invisible first so that <Parent> doesn't draw it Context->draw(); //draw the cont...
- Sun Sep 03, 2017 04:35
- Forum: Help
- Topic: [Solved] weird color change caused by CEGUI rendering
- Replies: 2
- Views: 3746
Re: weird color change caused by CEGUI rendering
Ahh, after two hours research, i finally figured it out.. It turned out that it is beginRendering() that is setting blend mode to GUI::GetGUIClass()->GetRenderer()->setupRenderingBlendMode(CEGUI::BM_NORMAL, true); also, endRendering() disables GL_BLEND All i have to do is to set blend mode to CEGUI:...
- Sat Sep 02, 2017 20:56
- Forum: Help
- Topic: [Solved] weird color change caused by CEGUI rendering
- Replies: 2
- Views: 3746
[Solved] weird color change caused by CEGUI rendering
Hello, calling CEGUI's beginRendering() and endRendering() seems to change how Opengl renders alpha here are the screenshots i took, please have a look without CEGUI rendering: https://i.imgur.com/HYcHGXW.jpg with CEGUI rendering: https://i.imgur.com/zlhI5Zt.jpg Btw, i use Opengl for rendering and S...