🎉 Add pixelate effect

This commit is contained in:
Simon Schneegans
2022-08-27 13:39:27 +02:00
parent d014b7a8b2
commit 9c547e2771
33 changed files with 687 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
// This part is automatically included in the effect's source during the build process.
// The code below is called whenever the user changes something in the configuration of
// the effect.
effect.setUniform(this.shader, 'uNoise', effect.readConfig('Noise', 1.0));
effect.setUniform(this.shader, 'uPixelSize', effect.readConfig('PixelSize', 1.0));