DGL https://delphigl.com/forum/ |
|
Transition between two texture https://delphigl.com/forum/viewtopic.php?f=19&t=5663 |
Seite 1 von 1 |
Autor: | jplev [ Mo Jul 03, 2006 17:19 ] |
Betreff des Beitrags: | Transition between two texture |
Hi i work on a Myst IV-like game engine with delphi7 and OpenGL . I need to to find a way to do transitions between two texture. I want to blend two texture into one. Anyone can help me? Thanks JP |
Autor: | luketheduke [ Mo Jul 03, 2006 20:37 ] |
Betreff des Beitrags: | |
well, you got Blending in OpenGL. glBlendFunc There should even be a tutorial somewhere.... this one: Tutorial_lektion7 |
Autor: | Flash [ Mo Jul 03, 2006 21:59 ] |
Betreff des Beitrags: | |
Easiest way should be to change the alpha value between 2 frames. Maybe glTexEnv could help you to set a textureEnvColor for any Texturestage. Thus you can use multitexturing for that. (I have not tested this, but should work) |
Autor: | luketheduke [ Di Jul 04, 2006 14:53 ] |
Betreff des Beitrags: | |
oops... yes, that's not classical blending. Flash's idea should work fine, though. |
Seite 1 von 1 | Alle Zeiten sind UTC + 1 Stunde |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |