Skip to content
  • Martin Gräßlin's avatar
    Adding color to VBO. · 9b832e71
    Martin Gräßlin authored and Martin Flöser's avatar Martin Flöser committed
    A color can be specified to render the geometry of the VBO.
    For legacy painting glColor is used, for shader a uniform is set.
    In order to allow rendering without texcoords, it is possible to pass
    a null pointer as texcoords.
    Shader added to scene which just renders a colored geometry without texturing.
    9b832e71