Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/apidcloud/webglheadlessrendering
https://github.com/apidcloud/webglheadlessrendering
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/apidcloud/webglheadlessrendering
- Owner: Apidcloud
- Created: 2020-04-16T06:26:46.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-26T12:56:21.000Z (over 2 years ago)
- Last Synced: 2024-10-16T18:39:32.208Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 563 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WebGL Headless Rendering Example
Sample repository for WebGL headless rendering powered by Puppeteer, which seems to work correctly for MacOS.
Created due to help with https://stackoverflow.com/questions/61239552/unity3d-webgl-headless-not-rendering.
## Basic Setup
1. Install NodeJS (10.x or higher is recommended)
2. Fork and clone the repo
3. Install Yarn globally with `$ npm i -g yarn` or download it at their [website](https://yarnpkg.com/en/docs/install)
4. `$ yarn` in the repo directory to install dependencies
5. `$ yarn server`in the repo directory to start python server
6. `$ yarn start` and open [localhost:8080](http://localhost:8080) in the browser