DelphiRAD Studio

Easily Cutout An Image With A Pixel Shader On Windows

In the previous example on Shader programming with Delphi FireMonkey, we created a texture feature to show images. So the material source manages the image bitmap. In this sample, you will create this: We can do this by adjusting the texture itself and setting all the pixels outside of the circle to be transparent. This needs a change to the texture. By utilizing a transformed pixel…
Read more