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

@@ -58,13 +58,13 @@ Sampler2D TextureColor
Output
{
vec4 Color;
vec4 FragColor;
}
Code
{
void main()
{
Color=texture(TextureColor,Input.TexCoord);
FragColor=texture(TextureColor,Input.TexCoord);
}
}