Skip to content
This repository has been archived by the owner on Jul 16, 2022. It is now read-only.

Geometry shader usage

jchoude edited this page Apr 16, 2013 · 1 revision

Introduction

The Fibernavigator uses geometry shaders to speed up parts of the rendering, when the graphics card of the user supports them. If the user's graphics card is too old or not powerful enough, or if the computer's version of OpenGL is too outdated and it is impossible to update it, you may want / need to completely remove support for geometry shaders from the application.

Instructions

The support is disabled / enabled using the USE_GEOMETRY_SHADERS variable included in the CMake file. By default, this variable is not visible, since most users won't need to change it. If you want to access it, you need to go to the Advanced section of the CMake configuration. To do so, you need to

  • in ccmake: do one iteration of configuration (with "c"), then press "t" to display the variable.
  • in CMake's GUI: toggle the "Advanced" checkbox.

Once in Advanced mode, you can set the USE_GEOMETRY_SHADERS to "ON" or "OFF". Setting it to "OFF" will completely remove support for geometry shaders in the fibernavigator.