fragment shader output use "FragColor" instead of "Color".

This commit is contained in:
2023-10-08 10:40:01 +08:00
parent 0524c51feb
commit 5e795c4a7f
7 changed files with 14 additions and 14 deletions

View File

@@ -27,13 +27,13 @@ Code
Output
{
vec4 Color;
vec4 FragColor;
}
Code
{
void main()
{
Color=Input.Color;
FragColor=Input.Color;
}
}