I have a png I am looking to render in a canvas as a “plane” for other images to be rendered over it.
I’ve chosen to render it as a sprite with a z-index to determine depth-perception.
When i try render this:
It comes out all wrong :
react sprite code :
<>
<sprite position={[positionX, positionY, positionZ]} scale={10}>
</>
Please help