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

@@ -24,7 +24,7 @@ Code
#Fragment
Output
{
vec4 Color
vec4 FragColor
}
Code
@@ -33,6 +33,6 @@ Code
{
MaterialInstance mi=GetMI();
Color=mi.Color;
FragColor=mi.Color;
}
}