add render rotation

This commit is contained in:
2026-07-13 20:10:45 -07:00
parent 00bad5eb04
commit 5ce596c79d
8 changed files with 615 additions and 20 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ void main()
vec4 color = texture(texture0, fragTexCoord) * weight[0];
for (int i = 1; i < 4; i++) {
for (int i = 1; i < 5; i++) {
vec2 offset = texel * float(i);
color += texture(texture0, fragTexCoord + offset) * weight[i];
color += texture(texture0, fragTexCoord - offset) * weight[i];