Cutting textures to objects shape

15 views
Skip to first unread message

piotr.w...@gmail.com

unread,
May 3, 2015, 2:05:55 AM5/3/15
to pl...@googlegroups.com
Hi All, 

I am little lost now, I stuck on having textures rendered only to objects borders. For now I am rendering rectangles, but I expect in my engine also circles and triangles... 

I went though Image, Image Surface and ImageLayer, but I did not find anything about alpha channels or somehow blending. 
I have 1.8.5 PlayN version and I do not want to target for web-gl, just HTML and canvas. 

Thanks, 
Piotr

piotr.w...@gmail.com

unread,
May 7, 2015, 12:37:15 AM5/7/15
to pl...@googlegroups.com, piotr.w...@gmail.com
Should it by done by mixing two layers in group ? Like that below:
- layer with only alpha channel 
- layer with texture 

?
Reply all
Reply to author
Forward
0 new messages