This commit is contained in:
Ray
2024-11-21 12:38:29 +01:00
parent 11429b48eb
commit 0d39e7137b
3 changed files with 24 additions and 16 deletions

View File

@ -41,7 +41,7 @@ void main()
}
tc += center;
vec4 color = texture2D(texture0, tc/texSize)*colDiffuse*fragColor;;
vec4 color = texture(texture0, tc/texSize)*colDiffuse*fragColor;;
finalColor = vec4(color.rgb, 1.0);;
}