Reputation: 1778
I used DiffusedMap in PhongMaterial to add texture to my mesh but I noticed that at texture coordinate (0,0) it blends the texture color with (1,0). This is expected if Javafx defaults to REPEAT, so I tried to set it to CLAMP but couldn't find any method in PhongMaterial to do that.
Is there a way to set texture wrap to CLAMP? Or are we always stuck with REPEAT textures in Javafx?
Upvotes: 2
Views: 93