I may not be looking for it properly, but I can not find a decent tutorial on what I would like to achieve. The only thing that seems to be close is this tutorial on reflections using the template buffer. However, I have trouble understanding how to apply the effect in a 2D space for a loading screen. Take the following image as an example:
I could make smoke and mirrors to accomplish something similar by creating a basic picture with a non-transparent background, then performing a
FillRectangle call from the 2D context object to increase the fill.
From my understanding though, there is a way to do this with the template stamp and specify the stencil look instead of a simple box.
- I can understand C ++ code if you are fluent in the language.
How to specify what my template should look like and render it in 2D space?