glue-viz / glue-vispy-viewers

3-d data viewers for glue based on VisPy
http://glueviz.org/en/stable/whatsnew/experimental_3d.html#experimental-3d
BSD 2-Clause "Simplified" License
25 stars 21 forks source link

Non-visible subset layers shouldn't have textures #319

Open astrofrog opened 6 years ago

astrofrog commented 6 years ago

Non-visible data layers need to have textures if they are used by a subset (for the 'data' mode) but non-visible subset layers definitely don't need to have textures, so we should modify the shader-generating code to take this into account. This will help alleviate the issue of 'no free slots' when adding too many layers to the 3D viewer.