1.5.46 • Published 2 years ago

@polygonjs/plugin-occlusion v1.5.46

Weekly downloads
63
License
MIT
Repository
github
Last release
2 years 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

2 years ago

1.5.39

2 years ago

1.5.41

2 years ago

1.5.40

2 years ago

1.5.43

2 years ago

1.5.42

2 years ago

1.5.45

2 years ago

1.5.44

2 years ago

1.5.46

2 years ago

1.3.9

2 years ago

1.1.257

3 years ago

1.1.246

3 years ago

1.1.218

3 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago