ae95ab0c43
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.
11 lines
347 B
Text
11 lines
347 B
Text
<!DOCTYPE RCC><RCC version="1.0">
|
|
<qresource prefix="/resources">
|
|
<file>lanczos-vertex.glsl</file>
|
|
<file>lanczos-fragment.glsl</file>
|
|
<file>scene-vertex.glsl</file>
|
|
<file>scene-fragment.glsl</file>
|
|
<file>scene-color-vertex.glsl</file>
|
|
<file>scene-color-fragment.glsl</file>
|
|
<file>scene-generic-vertex.glsl</file>
|
|
</qresource>
|
|
</RCC>
|