Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Crossfading scenes in OpenGL

I would like to render two scenes in OpenGL, and then do a visual crossfade from one scene to the second. Can anyone suggest a starting point for learning how to do this?

like image 385
BrenMcGuire Avatar asked Dec 20 '25 00:12

BrenMcGuire


1 Answers

The most pmajor thing you need to learn is how to do render-to-texture.

When you have both scenes in 2 textures it really is simple to crossfade between them. In fact its pretty simple to do all manor of interesting fade effects :)

like image 138
Goz Avatar answered Dec 21 '25 14:12

Goz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!