Feature #4: UI improvements
Offscreen UI composition
Doomsday's UI framework needs to have the ability to flatten a widget tree into an offscreen buffer (such as a GL texture) and then use that offscreen buffer for further drawing operations.
This is useful for instance for applying shader effects or a custom 2D/3D projection to the UI.
#5 Updated by skyjake over 6 years ago
- Status changed from In Progress to Closed
- % Done changed from 80 to 100
Marking this as completed:
CompositorWidget can be used as the parent anywhere in the widget tree to create a composite of that branch.
The assumption currently is that the offscreen target is used to draw a transparent UI layer, so the resulting texture is drawn back to the normal target using premultiplied alpha blending.