Skip to content

Commit 0a30d61

Browse files
committed
Deploying to gh-pages from @ 8a7776c 🚀
1 parent 89fe1d3 commit 0a30d61

10 files changed

Lines changed: 7907 additions & 1 deletion

File tree

‎main.js‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,21 @@ var spookyball = {
507507
sources: [],
508508
};
509509

510+
var stencilMask = {
511+
name: 'Stencil Mask',
512+
description: `\
513+
This example shows using the stencil buffer for masking. It draws 6 planes, forming a cube,
514+
each plane with a different stencil value. It then draws 7 scenes of moving objects, each set to only draw when
515+
the stencilReference value matches the value in the stencil buffer.
516+
`,
517+
filename: "sample/stencilMask",
518+
sources: [
519+
{ path: 'main.ts' },
520+
{ path: '../../meshes/primitives.ts' },
521+
{ path: 'simple-lighting.wgsl' },
522+
],
523+
};
524+
510525
var textRenderingMsdf = {
511526
name: 'Text Rendering - MSDF',
512527
description: `This example uses multichannel signed distance fields (MSDF) to render text. MSDF
@@ -716,6 +731,7 @@ const pageCategories = [
716731
cornell,
717732
'a-buffer': aBuffer,
718733
skinnedMesh,
734+
stencilMask,
719735
textRenderingMsdf,
720736
volumeRenderingTexture3D,
721737
wireframe,

‎main.js.map‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)