Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
shi-yan committed Jul 12, 2024
1 parent 08b1135 commit d9a01d8
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 4 deletions.
11 changes: 11 additions & 0 deletions Advanced/mega_texture.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@
<meta property="twitter:image" content="/WebGPUUnleashed/meta.png" />

<link rel="stylesheet" href="/WebGPUUnleashed/style.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/default.min.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/javascript.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/python.min.js"></script>


<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/base16/default-dark.min.css"
integrity="sha512-EF2rc4QyBiRAGUMVm+EjFPBbdVGaN/pwZhtuKyrC/dM+hcwTxI5BsEDUkrMRI77z4VlDAt/qVopePXB5+ZZ8Gw=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<script src="
https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.9/katex.min.js
"></script>
Expand Down Expand Up @@ -613,6 +623,7 @@ <h2 >5.4 Mega Texture</h2><p>mega texture is also called the virtualized texture
});
}

hljs.highlightAll();

</script>
</body>
Expand Down
11 changes: 11 additions & 0 deletions Advanced/skeleton_animation.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@
<meta property="twitter:image" content="/WebGPUUnleashed/meta.png" />

<link rel="stylesheet" href="/WebGPUUnleashed/style.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/default.min.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/cpp.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/javascript.min.js"></script>


<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/base16/default-dark.min.css"
integrity="sha512-EF2rc4QyBiRAGUMVm+EjFPBbdVGaN/pwZhtuKyrC/dM+hcwTxI5BsEDUkrMRI77z4VlDAt/qVopePXB5+ZZ8Gw=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<script src="
https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.9/katex.min.js
"></script>
Expand Down Expand Up @@ -808,6 +818,7 @@ <h2 >5.6 Skeleton Animation</h2><p>so far we have learned how to create animatio
});
}

hljs.highlightAll();

</script>
</body>
Expand Down
10 changes: 10 additions & 0 deletions Advanced/toon_shading.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@
<meta property="twitter:image" content="/WebGPUUnleashed/meta.png" />

<link rel="stylesheet" href="/WebGPUUnleashed/style.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/default.min.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/javascript.min.js"></script>


<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/base16/default-dark.min.css"
integrity="sha512-EF2rc4QyBiRAGUMVm+EjFPBbdVGaN/pwZhtuKyrC/dM+hcwTxI5BsEDUkrMRI77z4VlDAt/qVopePXB5+ZZ8Gw=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<script src="
https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.9/katex.min.js
"></script>
Expand Down Expand Up @@ -319,6 +328,7 @@ <h2 >5.2 Toon Shading</h2><p>achieving realistisity is not the only goal of rend
});
}

hljs.highlightAll();

</script>
</body>
Expand Down
10 changes: 10 additions & 0 deletions Advanced/transparency_with_depth_peeling.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@
<meta property="twitter:image" content="/WebGPUUnleashed/meta.png" />

<link rel="stylesheet" href="/WebGPUUnleashed/style.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/default.min.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/javascript.min.js"></script>


<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/base16/default-dark.min.css"
integrity="sha512-EF2rc4QyBiRAGUMVm+EjFPBbdVGaN/pwZhtuKyrC/dM+hcwTxI5BsEDUkrMRI77z4VlDAt/qVopePXB5+ZZ8Gw=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<script src="
https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.9/katex.min.js
"></script>
Expand Down Expand Up @@ -489,6 +498,7 @@ <h2 >5.5 Transparency with Depth Peeling</h2><p>transparency is another example
});
}

hljs.highlightAll();

</script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion Basics/creating_an_empty_canvas.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
<link rel="stylesheet" href="/WebGPUUnleashed/style.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/default.min.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/html.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/bash.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/javascript.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/html.min.js"></script>


<link rel="stylesheet"
Expand Down
4 changes: 2 additions & 2 deletions Basics/understanding_uniforms.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
<link rel="stylesheet" href="/WebGPUUnleashed/style.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/default.min.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/javascript.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/wgsl.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/html.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/wgsl.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/javascript.min.js"></script>


<link rel="stylesheet"
Expand Down
2 changes: 1 addition & 1 deletion Control/canvas_resizing.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
<link rel="stylesheet" href="/WebGPUUnleashed/style.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/default.min.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/javascript.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/html.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/javascript.min.js"></script>


<link rel="stylesheet"
Expand Down

0 comments on commit d9a01d8

Please sign in to comment.