-
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
Fixed the billboard alignedaxis issue. #5367
Conversation
@@ -256,6 +256,7 @@ void main() | |||
|
|||
vec4 positionWC = computePositionWindowCoordinates(positionEC, imageSize, scale, direction, origin, translate, pixelOffset, alignedAxis, validAlignedAxis, rotation, sizeInMeters); | |||
gl_Position = czm_viewportOrthographic * vec4(positionWC.xy, -positionWC.z, 1.0); | |||
//gl_Position = czm_modelViewProjection * vec4(positionWC.xy, -positionWC.z, 1.0); |
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.
Oops... extra comment slipped by.
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.
Very nice. Just the one comment to remove unused variables.
@@ -53,9 +53,9 @@ vec4 computePositionWindowCoordinates(vec4 positionEC, vec2 imageSize, float sca | |||
{ | |||
vec3 pos = positionEC.xyz + czm_encodedCameraPositionMCHigh + czm_encodedCameraPositionMCLow; |
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.
You can remove this and normal
as well.
@klingerj When you finish updates after a review, bump the PR so the reviewer knows to look again. Please update any forum threads linked in the issue that this was fixed and will be in the next release. |
Got it, thanks for letting me know @bagnell. |
Fantastic, thanks again @klingerj! |
Fixes #2487