Text Object background not transparent

I am attemping create a text object in a loop and I am having issues with the background area of the text not being transparent.

http://i.imgur.com/ZcB7I.jpg



What am I missing to make this become transparent?

Which render bucket is it in?

I am not sure what bucket it is in. I would assume the default bucket as I have not specifically set a bucket.

Transparent things need to be in the transparent bucket.

Stupid question incoming then.



How do I set it to be in the transparent bucket?

this should do the trick:

[java]geometry.setQueueBucket(Bucket.Transparent);[/java]

Look here:

http://hub.jmonkeyengine.org/javadoc/com/jme3/scene/Spatial.html



Go down until you see something bucket related. “QueueBucket” specifically.

entrusc said:
this should do the trick:
[java]geometry.setQueueBucket(Bucket.Transparent);[/java]


Sure... but now next time they won't be able to find the next thing they are looking for. :)
pspeed said:
Sure... but now next time they won't be able to find the next thing they are looking for. :)

hehe - yes you are absolutely right - it is always better to read the documentation ;) I just posted it as a short cut - of course with the idea in mind that dm1056 will look it up to learn more about the QueueBuckets ;)

Thank you for the information it worked and ill read up on QueueBuckets.

Heheh… QueueBuckets are pretty simple. My hints were more about ways you might have found it yourself given the information already provided.



So next time you were having problem X with a spatial and someone said try “a foo” you might have thought “Hmmm… maybe I should look at the Javadoc for Spatial to see if it says anything about ‘foo’.”