We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://sandcastle.cesium.com/?src=Custom%20Shaders%203D%20Tiles.html&label=3D%20Tiles%20Next
in this example each building have metadata like BIN,but how i can get it in shader
vertexShaderText: ` void vertexMain(VertexInput vsInput, inout czm_modelVertexOutput vsOutput) { int featureId = vsInput.featureIds.featureId_0; vsInput.metadata.BIN; } `
when i add vsInput.metadata.BIN in shader,it fail to compile
vsInput.metadata.BIN
The text was updated successfully, but these errors were encountered:
@lilleyse @ptrgags can you give me some advice
Sorry, something went wrong.
@chen21439 Property tables aren't supported in custom shaders yet. See #10480 and #9572 for more details.
For now you'll need to do this with a Cesium3DTileStyle.
I'll close this issue for now and leave a comment in #9572
No branches or pull requests
https://sandcastle.cesium.com/?src=Custom%20Shaders%203D%20Tiles.html&label=3D%20Tiles%20Next
in this example each building have metadata like BIN,but how i can get it in shader
when i add
vsInput.metadata.BIN
in shader,it fail to compileThe text was updated successfully, but these errors were encountered: