Hi,
I want to add a very translucent black to the material of my skid spots.
So I tried:
if (Spot.material == null) {
Spot.material = new Material(assetManager,"Common/MatDefs/Misc/Unshaded.j3md");
Spot.material.setTransparent(true);
ColorRGBA color = new ColorRGBA(0f, 0f, 0f, 0.1f);
Spot.material.setColor("Color", color);
}
But no matter if I set the alpha value to 0.1f or to 0.9f the result is always the same.