Skip to content

Commit

Permalink
Improve filtered data rendering performance (#7510)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyWhitaker authored and Pessimistress committed Dec 28, 2022
1 parent 771300a commit 8bf7767
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/extensions/src/data-filter/shader-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,12 @@ const inject = {
#endif
`,

'vs:#main-end': `
if (dataFilter_value == 0.0) {
gl_Position = vec4(0.);
}
`,

'vs:DECKGL_FILTER_SIZE': `
if (filter_transformSize) {
size = size * dataFilter_value;
Expand Down

0 comments on commit 8bf7767

Please sign in to comment.