-
Notifications
You must be signed in to change notification settings - Fork 16
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
dae -> 3D tiles, missing textures #73
Comments
Hi @DFic, If you drag and drop both |
3D Tiles uses glTF 2.0 which has a different shading model than glTF 1.0 and may account for those differences. To make the tileset brighter try setting tileset.lightColor. The default is |
Having a hard time finding a detailed reference about tileset.lightColor, especially about those three parameters. pls, could u share a small code example? |
Try:
Does that make it brighter for you? |
I'm going to close this for now. @DFic let us know if you still have any questions. |
This doesn't seem to work, tried in Cesium versions 1.53 and 1.56. I, too, am looking to "brighten" up a tileset. You can test in your sandcastle (https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/?src=3D%20Tiles%20Photogrammetry.html) and add the line above (tileset.lightColor = new Cesium.Cartesian3(3, 2.8, 2.4);) into the sandcastle |
@lilleyse can correct me if I'm wrong here, but I think this is because photogrammetry tilesets use an unlit material so that they are unaffected by light sources in the scene. If you try this on the 3D Tiles interior model here it works: https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/?src=3D%20Tiles%20Interior.html Try:
I know you can apply styles CesiumGS/cesium#7255 to photogrammetry tilesets but that won't help make it brighter though. |
Tried to convert dae model to 3D tiles, and it's working, except the textures are missing in resulting 3D tiles model.
Link to original thread at Cesium forum:
https://cesiumjs.org/forum/#!msg/cesium-dev/2IlV8hvDR3Q/oF6s0KvmCAAJ
The text was updated successfully, but these errors were encountered: