-
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
Missing notification of changed 3d Tile Style #5378
Comments
Another workaround is to call |
Calling Otherwise, styling would be too slow since each feature would have to evaluate the style each frame. |
I was thinking about a signal which |
@SunBlack feel free to explore and open a PR for discussion. It's been awhile since I designed this but I might have also ruled that out for complexity or performance, but it could be worth reevaluating. |
Example:
Expected: Color of displayed changes from red to green.
Got: Only new loaded data are displayed green.
Current workaround:
How this can be fixed: In case a value is changed there should be triggered an event to make style dirty. On this way all shader will be recompiled. In some cases, e.g.
pointSize
it is not necessary to recompile shader, because the size of points are stored in a uniform (I have no idea when the uniform currently will be ever adjusted).The text was updated successfully, but these errors were encountered: