| Horde3D http://horde3d.org/forums/ |
|
| Setting alpha value for overlays [SOLVED] http://horde3d.org/forums/viewtopic.php?f=1&t=689 |
Page 1 of 1 |
| Author: | Siavash [ 03.04.2009, 09:35 ] |
| Post subject: | Setting alpha value for overlays [SOLVED] |
How to set alpha value for overlays to fade in/out them in code? |
|
| Author: | SpOOky [ 03.04.2009, 09:52 ] |
| Post subject: | Re: Setting alpha value for overlays |
according to the docs: Code: DLL void showOverlay( float x_tl, float y_tl, float u_tl, float v_tl, float x_bl, float y_bl, float u_bl, float v_bl, float x_br, float y_br, float u_br, float v_br, float x_tr, float y_tr, float u_tr, float v_tr, float colR, float colG, float colB, float colA, ResHandle materialRes, int layer ) the 20th(colA) parameter is alpha. increasing it or decreasing it in your loop (calling alpha++ each time for example) will get you that transition |
|
| Author: | Siavash [ 03.04.2009, 09:55 ] |
| Post subject: | Re: Setting alpha value for overlays |
thanks a lot |
|
| Page 1 of 1 | All times are UTC + 1 hour |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|