Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Multimedia (https://www.delphipraxis.net/16-multimedia/)
-   -   Alphamap und Firemonkey (https://www.delphipraxis.net/177620-alphamap-und-firemonkey.html)

Peter666 16. Nov 2013 13:29

Alphamap und Firemonkey
 
Hi,

Ich habe eine Alphamaske als TBitmap, wobei alles bis auf den Alphawert 0 ist. Nun möchte ich diese Alphamaske mit einer Farbe versehen, ohne die Bitmap erneut mit TAccessMap read/write zu öffnen und oder eine extra Bitmap zu erstellen. Geht das irgendwie? Bei OpenGL kann ich ja
via glBindTexture(GL_TEXTURE_2D, id); glColor4F(r, g, b, a); das ganze tätigen, bei Firemonkey weiß ich aber nicht wie man das macht.

Peter


Alle Zeitangaben in WEZ +1. Es ist jetzt 07:45 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz