question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Layer Clipping example is not working

See original GitHub issue

I’m searching for example to render glsl shaders ontop of map. I found this example , but it is not working.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://openlayers.org/en/latest/examples/layer-clipping-webgl.html
  2. See error (no map)

found bugs:

  1. change pre/postcompose to pre/postrender

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jahowcommented, Jan 24, 2020

Hi @microspace, what you could do is use a post processing pass on a webgl layer to exclude a part of the final render, like the layer clipping example used to do. You can take a look at the HeatmapLayer class which uses custom shaders.

The webgl points layer could also offer the possibility to add custom post processing shaders, IMO that would make sense but it’s not the case yet.

0reactions
microspacecommented, Jan 24, 2020

Hi @jahow thank you for pointing to HeatmapLayer!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Group function / Clipping mask not working
With the clipping mask you can go to Layer>Create Clipping Mask or click at the bottom of the adjustment panel. clm.jpg.
Read more >
tikz pgf - Problems combining clip, layer and pic when multiple ...
I think the problem is the order in which the scope is set up and the layer ... the clipping seems to stay...
Read more >
Threshold adjustment layer / clipping mask not working ...
For example, I just tried it in PS with the following layers in AdobeRGB, 8-bit: L3 - Threshold layer with clipping mask (Threshold...
Read more >
How To Use Clipping Masks In Photoshop - A Complete Guide
In this other example, there are two sets of clipping masks applied to two different layers. You can easily tell where the chain...
Read more >
Clipping the Data Frame—Help | Documentation
In some cases, you may not want to clip all the layers in your map. For example, you may want to keep certain...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found