Box Vertex Colors

January 30, 2026 · View on GitHub

Tags

core, testing

Summary

A simple unit cube that uses vertex colors, stored in the COLORS_0 attribute.

Operations

Screenshot

screenshot

Description

A simple unit cube that uses vertex colors, stored in the COLORS_0 attribute. The color of each vertex is given by the RGB colors that are defined by the vertex coordinates. So the vertex at (0,0,0) is black, the vertex at (1,0,0) is red, the vertex at (1,1,0) is yellow, ..., and the vertex at (1,1,1) is white.

© 2023, Public. CC0 1.0 Universal