0 Replies Latest reply: Oct 30, 2013 4:55 AM by isnot2bad RSS

    Transparent textures in 3D-SubScene




      I've got a 3D scene with shapes having semi-transparent textures (e.g. texture with alpha gradient to simulate reflections).

      When it is shown using a 'normal' Scene, everything works fine, but as soon as I change to a SubScene with black background (subScene.fill(Colors.BLACK)), transparent pixels seem to be blended to white instead of black.


      Correct with Scene: http://i39.tinypic.com/2isuq35.png

      Incorrect with SubScene: http://i40.tinypic.com/20aayvp.png


      As you can see in the screenshots, it seems that only pixels that are not fully transparent are affected.


      System information:

      • Java(TM) SE Runtime Environment (build 1.8.0-ea-b109)
      • Java HotSpot(TM) 64-Bit Server VM (build 25.0-b51, mixed mode)
      • Windows 7 (x64)
      • GPU: NVIDIA Quadro 600
      • Hardware acceleration: DirectX / Direct3D


      Is this a bug, missing feature or do I have to do something special to make this work?