Based on https://learnopengl.com/Getting-started/Shaders. Set the triangle's color using the vertex buffer. See shaders (UBO) for a sample that uses a uniform buffer to set the color.
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
Based on https://learnopengl.com/Getting-started/Shaders. Set the triangle's color using the vertex buffer. See shaders (UBO) for a sample that uses a uniform buffer to set the color.