Putting it all together

We have seen how to create and apply compositors and how to create split screens using different viewports. Now we are going to combine both. In order to use the four viewports, we have to apply a compositor that multiplies the outgoing color with a float4 as factors, and with this as the parameter, we will create a scene where we see each color channel on its own, and then the final picture, which combines them all.

Get Ogre 3D 1.7 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.