Duck-themed multi-user virtual spaces in WebVR. Built with A-Frame.
Перейти к файлу
Takahiro b0ad205183 Fix darkened camera view
The recent Three.js relies on WebGL for sRGB - Linear color
space conversion. But it does in shader for video textures
for a performance reason.

camera-tool sets isVideoTexture = true for the screen render
target texture to update the render target only when the screens
are in view as hack. But this hack causes a wrong color space
conversion and the camera views are darkened.

This commit resolves the problem by removing the hack and
rewriting it more properly.
2022-07-15 11:13:09 -07:00
.circleci making npm ci to spell out logs to avoid circle ci's default 10m no-output timeout 2022-05-25 14:11:14 -04:00
.github Run test daily. 2022-05-18 11:59:52 -04:00
.storybook /token endpoint rendering page, wip TokenPageLayout remove Storybook context to AuthContext 2021-06-22 10:33:00 -07:00
.vscode
admin Bump naf to remove easyrtc dep 2022-05-31 13:21:42 -07:00
doc Update doc/best-practices.md 2022-03-25 13:59:49 -07:00
habitat Force git over https during build 2022-05-17 12:45:05 -04:00
scripts turkey-docker-update 2022-05-25 11:27:03 -04:00
src Fix darkened camera view 2022-07-15 11:13:09 -07:00
test Update ie11 test to check for unsupported notice 2022-05-18 11:50:36 -04:00
.babelrc Added SpinWhileTrue, fixed styling, added modals, removed routing for /create endpoint in favor of single page for simplicity 2021-07-19 10:21:57 -07:00
.defaults.env Minor refactor for local dev host. dotenv cleanup. 2022-04-10 14:14:14 -04:00
.eslintignore eslintignore + scripts/docker/turkey-swaps 2022-03-17 16:46:32 -04:00
.eslintrc.js Add APP as a global for eslint 2021-06-23 17:46:50 -07:00
.gitignore Add localization tooling and clean up existing locales 2020-12-18 19:38:47 -08:00
.htmlhintrc
.prettierignore
.prettierrc.json
.stylelintrc
CODE_OF_CONDUCT.md
CONTRIBUTING.md Add linter step before submitting the PR 2022-03-24 17:04:03 +01:00
Jenkinsfile fixed error in jenkins build 2021-08-20 13:02:56 -07:00
LICENSE
PRIVACY.md Update publication date 2021-08-24 10:26:08 -06:00
PROMOTION.md
README.md Use a link to remove clutter from instructions 2022-05-09 12:29:29 -07:00
REMIXING.md
RetPageOriginDockerfile turkey-admin-panel-hack, build-time version 2022-03-16 16:48:06 -04:00
SECURITY.md Create SECURITY.md 2022-04-20 12:51:08 -04:00
TERMS.md
package-lock.json Upgrade Three.js to r141 2022-07-05 17:31:13 -07:00
package.json Upgrade Three.js to r141 2022-07-05 17:31:13 -07:00
themes.json scene link screen fixes 2021-12-21 16:59:47 -08:00
webpack.config.js Delint 2022-07-06 13:35:43 -07:00

README.md

Mozilla Hubs

License: MPL 2.0 Build Status Discord

The client-side code for Mozilla Hubs, an online 3D collaboration platform that works for desktop, mobile, and VR platforms.

Learn more about Hubs

Getting Started

If you would like to run Hubs on your own servers, check out Hubs Cloud.

If you would like to deploy a custom client to your existing Hubs Cloud instance please refer to this guide.

If you would like to contribute to the main fork of the Hubs client please see the contributor guide.

If you just want to check out how Hubs works and make your own modifications continue on to our Quick Start Guide.

Quick Start

Install NodeJS if you haven't already. We recommend version 12 or above.

Run the following commands:

git clone https://github.com/mozilla/hubs.git
cd hubs
npm ci
npm run dev

The backend dev server is configured with CORS to only accept connections from "hubs.local:8080", so you will need to access it from that host. To do this, you likely want to add "hubs.local" and "hubs-proxy.local" to the local "hosts" file on your computer:

127.0.0.1	hubs.local
127.0.0.1	hubs-proxy.local

Then visit https://hubs.local:8080 (note: HTTPS is required, you'll need to accept the warning for the self-signed SSL certificate)

Note: When running the Hubs client locally, you will still connect to the development versions of our Janus WebRTC and reticulum servers. These servers do not allow being accessed outside of localhost. If you want to host your own Hubs servers, please check out Hubs Cloud.

Documentation

The Hubs documentation can be found here.

Community

Join us on our Discord Server or follow us on Twitter.

Contributing

Read our contributor guide to learn how you can submit bug reports, feature requests, and pull requests.

We're also looking for help with localization. The Hubs redesign has a lot of new text and we need help from people like you to translate it. Follow the localization docs to get started.

Contributors are expected to abide by the project's Code of Conduct and to be respectful of the project and people working on it.

Additional Resources

Privacy

Mozilla and Hubs believe that privacy is fundamental to a healthy internet. Read our privacy policy for more info.

License

Hubs is licensed with the Mozilla Public License 2.0