When showing the computation shader, it makes sense to make the initial cycle values easier to compare with one another.

This commit is contained in:
Rezmason
2019-02-18 22:18:31 -08:00
parent 679b7d69bf
commit 5263562c6f

View File

@@ -27,7 +27,7 @@ const makeMatrixRenderer = (renderer, {
for (let i = 0; i < numColumns * numColumns; i++) {
pixels[i * 4 + 0] = 0;
pixels[i * 4 + 1] = scramble(i);
pixels[i * 4 + 1] = showComputationTexture ? 0.5 : scramble(i);
pixels[i * 4 + 2] = 0;
pixels[i * 4 + 3] = 0;
}