mirror of
https://github.com/Rezmason/matrix.git
synced 2026-04-22 23:59:31 -07:00
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:
@@ -27,7 +27,7 @@ const makeMatrixRenderer = (renderer, {
|
|||||||
|
|
||||||
for (let i = 0; i < numColumns * numColumns; i++) {
|
for (let i = 0; i < numColumns * numColumns; i++) {
|
||||||
pixels[i * 4 + 0] = 0;
|
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 + 2] = 0;
|
||||||
pixels[i * 4 + 3] = 0;
|
pixels[i * 4 + 3] = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user