Skip to content

polygonjs/example-plugin-occlusion

Repository files navigation

Polygonjs Plugin Occlusion Example

This repository shows how to use the Occlusion Plugin for the WebGL engine Polygonjs.

This plugin adds a node SOP/Occlusion which adds an occlusion attribute to a geometry (downloaded from threedscans), which in turn can be used in the material builder.

Geometries with occlusion

Open the scene in the WebGL editor

yarn && yarn polygon

and open your browser at:

http://localhost:8091?scene=default

This will open the scene saved in this repo. It is a simple scene with a few geometry, whose occlusion is added via the SOP/Occlusion node.

Occlusion plugin from Polygonjs node-based Editor

Open the export scene without the editor

yarn && yarn run snowpack dev

and open your browser at:

http://localhost:8080

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published