Initial transfer of larger repo from git. IF full history and branches are needed must go to github at https://github.com/DulcisL/CCUCoding.git
This commit is contained in:
commit
c09ce40be0
4048 files changed
+603256
No files matched your search
@@ -0,0 +1,48 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
|
||||
<title>3D Sierpinski Gasket</title>
|
||||
|
||||
|
||||
<script id="vertex-shader" type="x-shader/x-vertex">
|
||||
#version 300 es
|
||||
|
||||
in vec3 aPosition;
|
||||
in vec4 aColor;
|
||||
out vec4 vColor;
|
||||
|
||||
void
|
||||
main()
|
||||
{
|
||||
gl_PointSize = 3.0;
|
||||
vColor = aColor;
|
||||
gl_Position = vec4(aPosition, 1.0);
|
||||
}
|
||||
</script>
|
||||
|
||||
<script id="fragment-shader" type="x-shader/x-fragment">
|
||||
#version 300 es
|
||||
precision mediump float;
|
||||
|
||||
in vec4 vColor;
|
||||
out vec4 fColor;
|
||||
|
||||
void
|
||||
main()
|
||||
{
|
||||
fColor = vColor;
|
||||
}
|
||||
</script>
|
||||
|
||||
<script type="text/javascript" src="../Common/initShaders.js"></script>
|
||||
<script type="text/javascript" src="../Common/MVnew.js"></script>
|
||||
<script type="text/javascript" src="gasket3v2.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<canvas id="gl-canvas" width="1024" height="1024">
|
||||
Oops ... your browser doesn't support the HTML5 canvas element
|
||||
</canvas>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user