-
Notifications
You must be signed in to change notification settings - Fork 41
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
build(deps): Upgrade to Deckgl 9.0.12 #2187
Conversation
- In general "picking_uActive" must be replaced by "picking.isActive". This is a float value. Also instances of "picking_uAttribute" must be replaced by "picking.isAttribute" (maplayer)
Also added implicit dependency @deck.gl-community/layers
|
||
if (!smoothShading || (normal[0] == 0.0 && normal[1] == 0.0 && normal[2] == 0.0)) { | ||
normal = normalize(cross(dFdx(position_commonspace.xyz), dFdy(position_commonspace.xyz))); | ||
} | ||
|
||
//Picking pass. | ||
if (picking_uActive && !picking_uAttribute) { | ||
gl_FragColor = encodeVertexIndexToRGB(vertexIndex); | ||
if (picking.isActive > 0.5 && !(picking.isAttribute > 0.5)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why these checks are done like this? isActive and isAttribute are not booleans?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They are floats now. Used to be booleans.
🎉 This issue has been resolved in version [email protected] 🎉 The release is available on GitHub release |
🎉 This issue has been resolved in version [email protected] 🎉 The release is available on GitHub release |
🎉 This issue has been resolved in version [email protected] 🎉 The release is available on GitHub release |
🎉 This issue has been resolved in version [email protected] 🎉 The release is available on GitHub release |
🎉 This issue has been resolved in version [email protected] 🎉 The release is available on GitHub release |
No description provided.