diff options
| Commit | e21d7a6a0f239f4310cb3a23b7b96d5846bbf63d (patch) | |
|---|---|---|
| Author | 2023-08-28 12:10:34 +0300 | |
| Committer | 2023-08-28 12:10:34 +0300 | |
| Files | becf7bf957d71886fee78ea718750bb65780dc7d | |
| uni-projects-e21d7a6a0f239f4310cb3a23b7b96d5846bbf63d.tar uni-projects-e21d7a6a0f239f4310cb3a23b7b96d5846bbf63d.tar.gz uni-projects-e21d7a6a0f239f4310cb3a23b7b96d5846bbf63d.zip | ||
| Parent | ce3ddd0ac87e9642851759a92fc99b24339533f6 (diff) | |
[WGL/P] Fixed "tearing" that can sometimes be seen when the camera is close to the event horizon
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | Year 2/Computer Graphics with WebGL/Project/Project.html | 2 |
diff --git a/Year 2/Computer Graphics with WebGL/Project/Project.html b/Year 2/Computer Graphics with WebGL/Project/Project.html index 5aa4252..02a2818 100644 --- a/Year 2/Computer Graphics with WebGL/Project/Project.html +++ b/Year 2/Computer Graphics with WebGL/Project/Project.html @@ -155,8 +155,8 @@ body > div { updateCamera();
gl.uniform3fv(uEye, pos);
- skybox.draw();
if (!pauseAnimations || t == 0) animations.forEach((a) => a(t));
+ skybox.draw();
stars.forEach((s) => s.draw());
frames++;
|
