Skip to content

Commit

Permalink
Improved webgl_loader_gltf_sheen example.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Dec 23, 2021
1 parent a759644 commit 80afa23
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Binary file modified examples/screenshots/webgl_loader_gltf_sheen.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion examples/webgl_loader_gltf_sheen.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<link type="text/css" rel="stylesheet" href="main.css">
<style>
body {
background: #bbbbbb;
}
</style>
</head>

<body>
Expand Down Expand Up @@ -34,7 +39,7 @@
document.body.appendChild( container );

camera = new THREE.PerspectiveCamera( 45, window.innerWidth / window.innerHeight, 0.1, 20 );
camera.position.set( 0, 0.75, 1.25 );
camera.position.set( - 0.75, 0.7, 1.25 );

scene = new THREE.Scene();

Expand Down

0 comments on commit 80afa23

Please sign in to comment.