ソースを参照

document camera movements

Lucas Stadler 10 年 前
コミット
ec6ab0ae0f
共有1 個のファイルを変更した6 個の追加1 個の削除を含む
  1. 6 1
      glsl/docs.js

+ 6 - 1
glsl/docs.js

@ -75,7 +75,7 @@ docsEl.textContent = `# shaders!
75 75
76 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 80
- \`Ctrl-Enter\` reruns the shader
81 81
- \`Ctrl-e\` toggles the editor
@ -83,6 +83,11 @@ Use the sliders on the left to change values used in the shader.
83 83
- \`Space\` toggles animation
84 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 91
## Default uniforms
87 92
88 93
- \`uniform vec2 iResolution\`: resolution of the canvas