qmodel/qmodel-vue3-js/index.html

26 lines
991 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link
rel="stylesheet"
href="//at.alicdn.com/t/c/font_3631821_5hypdnl1j8a.css"
/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>智慧工厂BIM管理系统</title>
</head>
<body>
<div id="app"></div>
<script type="x-shader/x-vertex" id="vertexshader">
varying vec2 vUv; void main() { vUv = uv; gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 ); }
</script>
<script type="x-shader/x-fragment" id="fragmentshader">
uniform sampler2D baseTexture; uniform sampler2D bloomTexture; varying vec2 vUv; void main() { gl_FragColor = ( texture2D( baseTexture, vUv ) + vec4( 1.0 ) * texture2D( bloomTexture, vUv ) ); }
</script>
<script type="module" src="/src/main.js"></script>
<script src="/qmodel/qmodel.js"></script>
</body>
</html>