📝 Update tutorial
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user