screenshot01102017_200308117

screenshot01102017_200310217

screenshot01102017_200315718

screenshot01102017_200318951

screenshot01102017_200328133

screenshot01102017_200347400

New example about compositor and shader (example.compositor).

The example concerns the definition of a custom compositor. In Ogre3d, a compositor is a serie of post-processing nodes attached to the camera. It is the place where the image displayed at each frame is created.

In the example, there’s a shader attach to the background of the window that renders a blurred circle. The shader params can be modifed RT via the mouse.

  • Moving the mouse change the red and green channels of the center color.
  • Dragging with left button modify the radius of the circle.
  • Dragging with right button modify the center of the circle.
    • Compositor is a really strong feature of Ogre, even if it’s a quite difficult one!