-
Notifications
You must be signed in to change notification settings - Fork 0
/
hdri-flat.html
58 lines (56 loc) · 2.24 KB
/
hdri-flat.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
53
54
55
56
57
58
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./css/main.css">
<title>Initial Document</title>
</head>
<body>
<main id="renderer_target">
<nav>
<label pbr1-onlyshowifmultivalued="environment_name" for="environment_name" title="environment_name">Environment</label>
<select
onchange="updateScene({'environment_index':this.value},PBR1_FALLBACK.current);"
pbr1-onlyshowifmultivalued="environment_name"
pbr1-optionsource="environment_name"
pbr1-selectedsource="environment_index"
id="environment_name"
name="environment_name"
>
</select>
<label ondblclick="this.value=0;updateScene({'environment_exposure':this.value},PBR1_FALLBACK.current);"; for="environment_exposure" title="environment_exposure">Exposure</label>
<input
type="range"
min="-16"
max="16"
value="0"
id="environment_exposure"
step="0.25"
ondblclick="this.value=0;updateScene({'environment_exposure':this.value},PBR1_FALLBACK.current);";
oninput="updateScene({'environment_exposure':this.value},PBR1_FALLBACK.current);",
onload="updateScene({'environment_exposure':this.value},PBR1_FALLBACK.current);"
>
<label for="environment_tonemapping" title="environment_tonemapping">Tone Mapping</label>
<select
id="environment_tonemapping"
onchange="updateScene({'environment_tonemapping':this.value},PBR1_FALLBACK.current);"
onload="updateScene({'environment_tonemapping':this.value},PBR1_FALLBACK.current);"
>
<option title="filmic" value="filmic">Filmic</option>
<option title="linear" value="linear">Linear</option>
<option title="reinhard" value="reinhard">Reinhard</option>
<option title="cineon" value="cineon">Cineon</option>
</select>
</nav>
<a class="watermark watermark-off"</a>
</main>
<script src="./lib/three.min.js"></script>
<script src="./lib/RGBELoader.js"></script>
<script src="./lib/EXRLoader.js"></script>
<script src="./lib/fflate.min.js"></script>
<script src="./js/main.js"></script>
<script src="./js/hdri-flat.js"></script>
</body>
</html>