I’m following an example in here.
In my case, I want to replace the camera type from PerspectiveCamera to OrthographicCamera.
But when switching to OrthographicCamera, nothing (the body, head and label) shows up.
In my code:
if the camera is set to PerspectiveCamera (
doUsePerspectiveCamera = true- see code here) everything works as expected (I can see the blue sprite with the label Purple People Eater on top of the person’s head)
if the camera is set to OrthographicCamera (
doUsePerspectiveCamera = false- see code here) the objects and the labels don’t show up!
Why, when using OrthographicCamera, the objects and the labels don’t show up?
Also, using Chrome devtools, is there an attribute where I can see the sprite texture, for example in some nested attribute in object.material.map.image ?