FXGL 3D adding images on entities

59 views Asked by At

I can't find a way to add PNG image as a surface to 3D box in FXGL.

I tried scavenging all the methods I can see that the Box class has but all I could find was setMaterial() method. I tried googling it but I only found a way to color the Box in one color using PhongMaterial class. I still need a way to convert a PNG image from assets to usable Material on my Box.

0

There are 0 answers