even mores graphics fixes

This commit is contained in:
biglyderv 2025-03-04 05:16:54 -05:00
parent 588f5c09d8
commit fcf0ee4b47
Signed by: biglyderv
GPG key ID: 0E2EB0B4CD7397B5

View file

@ -106,7 +106,7 @@ function renderThing() {
hud.textContent = `${Math.floor(nothingness * 100) / 100} nothings; ${Math.floor(nGain * 60 * 100) / 100} nil/sec` hud.textContent = `${Math.floor(nothingness * 100) / 100} nothings; ${Math.floor(nGain * 60 * 100) / 100} nil/sec`
gl.uniform1f(sizeBuffer, -Math.log(nothingness)); gl.uniform1f(sizeBuffer, -Math.log(nothingness));
gl.uniform1f(distBuffer, 0.1 + 3 * nGain/(nGain+1)); gl.uniform1f(distBuffer, 0.1 + 3 * nGain/(nGain+nothingness));
var primitiveType = gl.TRIANGLES; var primitiveType = gl.TRIANGLES;
var offset = 0; var offset = 0;