Sprite pop-up
BlitzMax Forums/MiniB3D Module/Sprite pop-up
| ||
Why is it my sprites only appear when the mid-point enters the view? The pop-up is really obvious and disconcerting. Can I fix it? |
| ||
Using MeshCullRadius should fix it. |
| ||
Ah thanks. |
| ||
I'm having the same problem and I can't figure how MeshCullRadius will fix this? |
| ||
It sets the culling radius of a mesh (a sprite is a mesh). You need to do this as MiniB3D doesn't take into account the size of scaled sprites. In the next version you won't need to set this, it will be done automatically. |
| ||
If you scale your sprite you need to set the MeshCullRadius to the same scale. Took me a while to realise that too. :) |