// SampleX18 - Transition
// by Lord Trancos
// ---------------------------------------------------------------------------
//
// This sample shows a transition effect between scenes using
// "render to texture". This sample is very similar to the
// previous one (Motion Blur).
//
// When you hit ENTER or SPACE the scene is switched, but the previous one
// is now rendered inside a texture and drawed over the new scene
// using a rectangle (already translated and lighted) that covers the entire
// screen and with an alpha value that changes slowly (from 100% opaque to 0%).
//
// You can change the value of C_TRANSITION_TIME (global.pas) to set the
// time used by the transition effect.
//
