add render rotation
This commit is contained in:
+1
-1
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user