Hello again,
I’m facing a rather weird problem here… I’ve set up my UI in a way that uses both 3D assets and GUIText together, so it’s aspect ratio safe, and has clear text (as opposed to a TextMesh which is generally very blurry)
So, the problem is… The GUIText is always on top of the 3D bits of the UI (as one would expect)… So I was thinking about ways to cull the 3D text, when it goes over something it’s supposed to be ‘behind’ of…
Is this at all possible? What options do you think could work?
RIght now, all UI objects are sharing the same layer… even the GUI objects… the UI camera only sees objects in that layer, and has a GUILayer component.
So, can anyone think of a way to cull the text? it could be anything really… other layers, based on it’s Z position, some kind of collider-based occlusion (as with flares)…
As always, thanks in advance!
Cheers