I added Render Hooks this month. They're kind of like our old post processing system except they have a few extra benefits:
- Work on Scene Panels
- Work on Tool Cameras
- Work on Icon Rendering
- Called multiple times during pipeline
I tried to design the render hooks to be as simple as possible while still being powerful. Generally with this stuff you mostly want to blit a material to the screen during a specific time in the pipeline, so
I made that easy. You might also want to render a model with a specific shader,
so I made that easy. You might even at some point want to create temporary render targets,
so I made that easy too.
Above you can see how the render hooks are used in the character creator to create a pixel/noise transition when switching items.