This repository has been archived on 2024-01-06. You can view files and clone it, but cannot push or open issues or pull requests.
|
#version 330 core
|
|
out vec4 FragColor;
|
|
|
|
uniform vec4 ourColor; // 在OpenGL程序代码中设定这个变量
|
|
|
|
void main()
|
|
{
|
|
FragColor = ourColor;
|
|
} |