even mores graphics fixes
This commit is contained in:
parent
588f5c09d8
commit
fcf0ee4b47
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue