de.jreality.tutorial.app
Class VertexColorsExample
java.lang.Object
de.jreality.tutorial.app.VertexColorsExample
public class VertexColorsExample
- extends Object
This example shows how to use vertex colors on a point set.
Not that in contrast to the case of the default line shader, the attribute
CommonAttributes.VERTEX_COLORS_ENABLED
plays no role in the point shader.
If vertex colors are present in the PointSet instance they are used when rendering.
If you don't want vertex colors, you should remove the attribute.
- Author:
- gunn (from code donated by forum member STRESS).
VertexColorsExample
public VertexColorsExample()
main
public static void main(String[] args)