three.equirectangular-to-cubemap
Version:
Convert an equirectangular panorama into a three.js cubemap texture
23 lines (20 loc) • 425 B
HTML
<html lang="en">
<head>
<title>EquirectangularToCubemap</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<style>
body {
font-family: Monospace;
background-color: #f0f0f0;
color: white;
margin: 0px;
overflow: hidden;
}
</style>
</head>
<body>
<script src="bundle.js"></script>
</body>
</html>