1.5.46 • Published 5 months ago

@polygonjs/plugin-occlusion v1.5.46

Weekly downloads
63
License
MIT
Repository
github
Last release
5 months ago

Polygonjs Occlusion Plugin

This adds a Occlusion SOP node to the Polygonjs webgl engine.

This wraps the work done in https://github.com/wwwtyro/geo-ambient-occlusion into a node that can be used with all the other nodes available on Polygonjs.

See example scene:

geometries with occlusion added

Install

Import the plugin:

yarn add @polygonjs/plugin-occlusion

And register the plugin in the function configurePolygonjs in the file PolyConfig.js so that the occlusion node can be accessible in both the editor and your exported scene:

import {polyPluginOcclusion} from '@polygonjs/plugin-occlusion';

export function configurePolygonjs(poly) {
	poly.registerPlugin(polyPluginOcclusion);
}
1.5.38

5 months ago

1.5.39

5 months ago

1.5.41

5 months ago

1.5.40

5 months ago

1.5.43

5 months ago

1.5.42

5 months ago

1.5.45

5 months ago

1.5.44

5 months ago

1.5.46

5 months ago

1.3.9

1 year ago

1.1.257

2 years ago

1.1.246

2 years ago

1.1.218

2 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago