luma.gl/docs/FAQ.md
1chandu d5c43cffd3 Add loader, Faq links to website-old (#700)
* Add loader, Faq links to website-old
* Doc fixes, points link to 6.1-release
2018-10-01 11:41:10 -07:00

966 B

Frequently Asked Questions

Using luma.gl in isorender applications

Q: I am using luma.gl in an isorender application and I get an error message from luma.gl on the server

For typical isorender scenarios, you just need to the application not to fail while intializing the luma.gl library, you don't actually instantiate e.g. WebGL contexts on the server.

luma.gl is designed to support isorender application, i.e. the library can be loaded without problems under Node.js, as long as the application doesn't actually try to use WebGL (i.e. create WebGL contexts).

However when luma.gl discovers that headless gl is not available it tries to give a helpful message explaining the situation. This can safely be ignored.

Remember that you can actually create WebGL contexts under Node.js, as long as the headless gl is installed in your node_modules directory. More information on using luma.gl with Node.js.