Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The problem of plug-in loading on mapbox #74

Open
qqq888481 opened this issue Oct 28, 2022 · 4 comments
Open

The problem of plug-in loading on mapbox #74

qqq888481 opened this issue Oct 28, 2022 · 4 comments

Comments

@qqq888481
Copy link

Use plug-ins to load tilt photography on the mapbox, but tilt photography appears dark no matter how you try it. I tried to add directional light global light point light source and mapbox's own light with three

@qqq888481
Copy link
Author

Use plug-ins to load 3d tiles on the mapbox, but tilt photography appears dark no matter how you try it. I tried to add directional light global light point light source and mapbox's own light with three

@qqq888481
Copy link
Author

Use this plug-in to load 3dTiles without being affected by light

@Avnerus
Copy link
Collaborator

Avnerus commented Oct 28, 2022

Hi @qqq888481,
This might be a colorspace issue.
Try to either add or remove this:

    import {  sRGBEncoding } from 'three'; 
...
    renderer.outputEncoding = sRGBEncoding;

@qqq888481
Copy link
Author

it's useful! thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants