Lucas Stadler лет назад: 10
Родитель
Сommit
ec6ab0ae0f
1 измененных файлов с 6 добавлено и 1 удалено
  1. 6 1
      glsl/docs.js

+ 6 - 1
glsl/docs.js

75
75
76
Use the sliders on the left to change values used in the shader.
76
Use the sliders on the left to change values used in the shader.
77
77
78
## Keyboard shortcuts
78
## Keyboard shortcuts and navigation
79
79
80
- \`Ctrl-Enter\` reruns the shader
80
- \`Ctrl-Enter\` reruns the shader
81
- \`Ctrl-e\` toggles the editor
81
- \`Ctrl-e\` toggles the editor
83
- \`Space\` toggles animation
83
- \`Space\` toggles animation
84
- \`Ctrl-h\` toggles help
84
- \`Ctrl-h\` toggles help
85
85
86
You can move around using keyboard and mouse.  Pressing W (or Up) moves the camera
87
forward, pressing S (or Down) moves it backwards.  By pressing the left mouse button
88
and moving the mouse, you can "look around" then use the keyboard to move in that
89
direction.
90
86
## Default uniforms
91
## Default uniforms
87
92
88
- \`uniform vec2 iResolution\`: resolution of the canvas
93
- \`uniform vec2 iResolution\`: resolution of the canvas