-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Options to turn off normal shading for point clouds #5152
Comments
@lilleyse Hi Sean, just a couple clarifying questions:
|
Sorry @glee2244, I missed this comment. @AnimatedRNG will finish this up now.
|
Fixed in #5433. |
@lilleyse please re-open if appropriate. |
The option exists at the |
The options were added to |
Congratulations on closing the issue! I found these Cesium forum links in the comments above: https://groups.google.com/forum/#!msg/cesium-dev/GgfuEFgHw-g/0T3Ypsz7BAAJ If this issue affects any of these threads, please post a comment like the following:
|
@Dylan-Brown, @glee2244 this will be a good thing to work on after #4759
For point clouds with normals (like
Specs\Data\Cesium3DTiles\PointCloud\PointCloudNormals
), shading is automatically applied in the shader here: https://github.com/AnalyticalGraphicsInc/cesium/blob/3d-tiles/Source/Scene/PointCloud3DTileContent.js#L1005-L1010Instead of shading always being applied, it should be controlled with a boolean, since some may want to apply their own shading with the styling language, or just not at all.
Shading on:
Shading off:
Look at how
backFaceCulling
is handled, anormalShading
flag will act very similarly.This was requested on the forum a little while back: https://groups.google.com/forum/#!msg/cesium-dev/GgfuEFgHw-g/0T3Ypsz7BAAJ
Afterwards we can look at how
backFaceCulling
andnormalShading
can be easily toggled from a tileset.The text was updated successfully, but these errors were encountered: