Clouds versus blending


Having some difficulty here. I have a greyscale cloud texture that I am trying to apply to a quad, but I don’t seem to have the blending quite right (see screenshot):

Code is here:

      Quad newQuad = new Quad("test", 1000, 1000);
      newQuad.setLocalTranslation(20, 100, 20);
        Texture tex = TextureManager.loadTexture(imageBuf,
                Texture.MagnificationFilter.Bilinear, 1, false);
         TextureState ts = DisplaySystem.getDisplaySystem().getRenderer().createTextureState();
        BlendState as = DisplaySystem.getDisplaySystem().getRenderer().createBlendState();

So what am I doing wrong? Do I also need to be using a materialstate?


Well, I'm not the most experienced in these graphical matters, but shouldn't





It seems more logical to me.
Perhaps you could try that.

You can also use Scene Monitor to try out settings.

Figured it out - setRenderQueueMode(Renderer.QUEUE_TRANSPARENT)

Thanks for the info, and Scene Monitor looks like exactly what I need :slight_smile: