DGL
https://delphigl.com/forum/

Fadein Fadeout 2d Background tga aplha image
https://delphigl.com/forum/viewtopic.php?f=19&t=9541
Seite 1 von 1

Autor:  azrael11 [ Di Okt 19, 2010 06:17 ]
Betreff des Beitrags:  Fadein Fadeout 2d Background tga aplha image

Fadein Fadeout 2d Background tga aplha image

how can i do that ?

Autor:  Sascha Willems [ Di Okt 19, 2010 09:09 ]
Betreff des Beitrags:  Re: Fadein Fadeout 2d Background tga aplha image

Switch to orthogonal mode (glOrtho) and simply draw a fullscreen quad (using the same coordinates you just used to set the orthogonal projection) with a timer for it's alpha value. Increase the timer for fading in and decrease it for fading out. Pretty simple.

Autor:  azrael11 [ Mi Okt 20, 2010 12:48 ]
Betreff des Beitrags:  Re: Fadein Fadeout 2d Background tga aplha image

Sascha Willems hat geschrieben:
Switch to orthogonal mode (glOrtho) and simply draw a fullscreen quad (using the same coordinates you just used to set the orthogonal projection) with a timer for it's alpha value. Increase the timer for fading in and decrease it for fading out. Pretty simple.


Yes it pretty simple ...

I have in my mind so complex things for fadein fadeout...

Thanks...

Seite 1 von 1 Alle Zeiten sind UTC + 1 Stunde
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/