Fix issues

This commit is contained in:
schmelczerandras 2020-11-04 18:54:57 +01:00
commit b774357807
2 changed files with 35 additions and 60 deletions

View file

@ -75,7 +75,7 @@ export class BlobShape extends Drawable {
color: 'blobColors',
},
uniformCountMacroName: 'BLOB_COUNT',
shaderCombinationSteps: [],
shaderCombinationSteps: [0, 1, 2, 8],
empty: new BlobShape(0),
};

View file

@ -107,7 +107,7 @@ export class PlanetShape extends PolygonFactory(settings.planetEdgeCount, 0) {
colorMixQ: 'planetColorMixQ',
},
uniformCountMacroName: `PLANET_COUNT`,
shaderCombinationSteps: [0, 1, 2, 3, 8, 16],
shaderCombinationSteps: [0, 1, 2, 3],
empty: new PlanetShape(new Array(settings.planetEdgeCount).fill(vec2.create()), 0),
};