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 set all pixels outside of the circle to transparent. This needs a change to the texture. By utilizing a transformed pixel shader, you…
Read more