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.
What am I missing to make this become 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.
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]
pspeed said:
Sure... but now next time they won't be able to find the next thing they are looking for. :)
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’.”