fixed 3 samples that are texture_quad, texture_rect and texture_rect_array

This commit is contained in:
2024-05-31 23:17:08 +08:00
parent c780662ff6
commit aa853fbdfb
5 changed files with 32 additions and 22 deletions

View File

@@ -23,7 +23,7 @@ Code
#Fragment
sampler2D TextureColor
sampler2D TextureBaseColor
Output
{
@@ -34,6 +34,6 @@ Code
{
void main()
{
FragColor=texture(TextureColor,Input.TexCoord);
FragColor=texture(TextureBaseColor,Input.TexCoord);
}
}

View File

@@ -52,7 +52,7 @@ Code
#Fragment
sampler2D TextureColor
sampler2D TextureBaseColor
Output
{
@@ -63,6 +63,6 @@ Code
{
void main()
{
FragColor=texture(TextureColor,Input.TexCoord);
FragColor=texture(TextureBaseColor,Input.TexCoord);
}
}