gregjohnson2017 / tabula-editor

An image editor built from scratch with OpenGL in Go.
MIT License
7 stars 0 forks source link

Compute selection outline in shader #44

Open kroppt opened 4 years ago

kroppt commented 4 years ago

This is a somewhat complicated issue, and may require the use of other shader types than vertex/fragment. If we can compute selection outlines in the shader, we can better control the performance, because we could forgo computing all the selection lines on all the selected pixels on the CPU.