forked from erichlof/THREE.js-PathTracing-Renderer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Material_Roughness.html
52 lines (43 loc) · 1.63 KB
/
Material_Roughness.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE html>
<html lang="en">
<head>
<title>three.js PathTracing Renderer - Material Roughness Demo</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
<link href="css/default.css" rel="stylesheet">
<link rel="stylesheet" href="all_examples_styles.css">
<script src="https://cdn.tailwindcss.com"></script>
<script async src="js/es-module-shims.js"></script>
<script type="importmap">
{
"imports": {
"three": "./js/three.module.min.js"
}
}
</script>
<script type="module">
import * as THREE from 'three';
window.THREE = THREE;
import Stats from './js/stats.module.js';
window.Stats = Stats;
import GUI from './js/lil-gui.module.min.js';
window.GUI = GUI;
</script>
</head>
<body>
<div id="container"> </div>
<div id="info">three.js PathTracing Renderer - Material Roughness Demo</div>
<!-- <div id="cameraInfo" style="position:fixed; left:3%; bottom:2%; font-family:arial; color:rgb(255,255,255);"></div>-->
<footer class="text-center bg-transparent">
<div class="pb-12 text-[#fff]" id="cameraInfo" ></div>
<div class="back-button">
<a href="all_examples.html"><img src="imgs/back-icon.png" class="size-12 invert" alt="Back"></a>
</div>
</footer>
<script defer src="js/FirstPersonCameraControls.js"> </script>
<script defer src="js/MobileJoystickControls.js"> </script>
<script defer src="js/PathTracingCommon.js"> </script>
<script defer src="js/InitCommon.js"> </script>
<script defer src="js/Material_Roughness.js"> </script>
</body>
</html>