Its just there because you can do it with a shader as well. The reason for this tutorial is that shaders can be used in many different situations, including transitions and to learn new things.
The shader is quite short, so the computuationally difference is very small. ( the line that does the transition is usually included in a bigger shader, so its normal to include it if the rest is shader based ).
So, why do this with a shader - why not render both scenes to textures, and then just draw quads, alpha/add/multiply blending them in? It'd even be computationally cheaper.
Yeah I will, thank you for the comment :)
DCSdigitalerr0r 2 years ago
Might be good to mention this in the tutorial, though?
int3rl0per 2 years ago
Its just there because you can do it with a shader as well. The reason for this tutorial is that shaders can be used in many different situations, including transitions and to learn new things.
The shader is quite short, so the computuationally difference is very small. ( the line that does the transition is usually included in a bigger shader, so its normal to include it if the rest is shader based ).
DCSdigitalerr0r 2 years ago
So, why do this with a shader - why not render both scenes to textures, and then just draw quads, alpha/add/multiply blending them in? It'd even be computationally cheaper.
int3rl0per 2 years ago