Mike G.
Mike G.

Reputation: 73

Three.js panorama weird render with canvas

I got a problem with the canvas renderer of the three.js, I used the panorama example with my own pics, but the geometry does not seems to be good. Tried to play a lot with different parameters, like texture canvas size, size of the box, ... but no good result sadly.

Here is the sample : http://prods.mightyprods.com/Three/panoramasimple.php

Tried the webgl sample, it works well : http://prods.mightyprods.com/Three/skybox.html

I really need to work with canvas element, because of compatibility... any idea of what's wrong with this ?

Thanks by advance for any help.

PS : sorry for my bad english...

Upvotes: 1

Views: 1208

Answers (1)

mrdoob
mrdoob

Reputation: 19602

It's indeed a limitation of CanvasRenderer. You can try adding more subdivisions to the cube or decreasing the camera fov.

Upvotes: 1

Related Questions