123456789101112131415161718192021222324252627282930313233343536373839 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <title>BabylonJS Viewer - DOM usage</title>
- <style>
- babylon {
- width: 800px;
- height: 500px;
- }
- </style>
- </head>
- <body>
- <babylon extends="minimal" scene.default-camera="false">
- <model url="https://playground.babylonjs.com/scenes/BoomBox.glb" title="GLB Model" subtitle="BabylonJS">
- </model>
- <camera>
- <behaviors>
- <auto-rotate type="0"></auto-rotate>
- </behaviors>
- </camera>
- <lights>
- <light1 type="1" shadow-enabled="true" position.y="0.5" direction.y="-1" intensity="4.5">
- <shadow-config use-blur-exponential-shadow-map="true" use-kernel-blur="true" blur-kernel="64" blur-scale="4">
- </shadow-config>
- </light1>
- </lights>
- </babylon>
- <script src="viewer.js"></script>
- </body>
- </html>
- <html>
- </html>
|