A colorful triangle rendered on an RGB pixel matrix with interpolated vertex coloring. The corners are red, green, and blue and the color gently blends between them as the triangle is filled.
Using my barycentric coordinates to implement vertex color interpretation.
I can use the same alpha, beta, and gamma values for depth buffer calculations, so I can have good looking intersecting triangles.
#maker #leds #gamedev #gamemath #cplusplus #microcomteollers #esp32
5
0
0
0