Hi,
I’m tring to display a sprite in a test scene, but it seems that I’m forgetting something or I’m doing something wrong.
Here the scene
https://mdiegoli.github.io/convextest.html
Thank you for any help!
Michele
Hi,
I’m tring to display a sprite in a test scene, but it seems that I’m forgetting something or I’m doing something wrong.
Here the scene
https://mdiegoli.github.io/convextest.html
Thank you for any help!
Michele
The problem is that you are rendering your scene only once. However, the sprite will only be visible when the respective texture is loaded. And that happens always after your single rendering.
Besides, it seems the position of your sprite ( 200, 200, 0 )
is way too off. For testing, try to remove all meshes and position the sprite at the origin.
Thank you @Mugen87, you made my day!