Rendering two textures with blending and alpha test
Posted by
elect on
URL: https://forum.jogamp.org/Rendering-two-textures-with-blending-and-alpha-test-tp4025296.html
Hi guys,
what I am looking for is the following... I have a circle on a square image, alpha is 0 at the corners
http://dl.dropbox.com/u/1401029/circle.pngand also a *square* shadow, alpha is 0 everywhere else
http://dl.dropbox.com/u/1401029/image.pngWell, I would like to have as final result a blending of these two renders, plus tha shadow not being rendered outside the circle
How could I achieve that? :)