shithub: tinygl

Download patch

ref: de91fa69c4e41849e53cec403df29bfbafd11b11
parent: fb60ab92f7d0e5914e4c5e307f2dae6a5659e9d9
author: MHS <gek@katherine>
date: Mon Mar 22 05:45:29 EDT 2021

Automatic commit.

--- a/README.md
+++ b/README.md
@@ -209,6 +209,10 @@
 * Lit triangles will use the current material properties, even if they are textured. If the diffuse color is black, then your
 textured triangles will appear black.
 
+* Textured triangles are affected by their vertex colors- the per-vertex color is used as a "mask" for the texture
+on triangles. It is recommended you call glColor3f(1,1,1); before rendering a textured object to get the expected result-
+you only need to make this call once, and it can be before glBegin.
+
 * the X dimension of the rendering window with must be a multiple of 4.
 
 * Line rendering is not blended