📝 Update tutorial

This commit is contained in:
Simon Schneegans
2022-05-11 05:33:37 +02:00
parent 1347fc4d11
commit 2bd897fe0e
+4 -5
View File
@@ -234,11 +234,10 @@ if (utils.isInShellProcess()) {
const declarations = ` const declarations = `
// The code below injects some standard uniforms which will be updated during the // The code below injects some standard uniforms which will be updated during the
// animation. This includes: // animation. This includes:
// uTexture: Contains the texture of the window. // sampler2D uTexture: Contains the texture of the window.
// uProgress: A value which transitions from 0 to 1 during the entire animation. // float uProgress: A value which transitions from 0 to 1 during the entire animation.
// uTime: A steadily increasing value in seconds. // float uTime: A steadily increasing value in seconds.
// uSizeX: The horizontal size of uTexture in pixels. // vec2 uSize: The size of uTexture in pixels.
// uSizeY: The vertical size of uTexture in pixels.
${shaderSnippets.standardUniforms()} ${shaderSnippets.standardUniforms()}
// The width of the fading effect is loaded from the settings. // The width of the fading effect is loaded from the settings.