Input Settings

Inputs are defined under the application folder, at Shaderlens.inputs.json (can be opened from the viewport menu: Options ‣ Open Input File).
Each setting can be a string, or an array of strings for multiple options.

Each input string is a combination of one or more of the following values:

Mouse
MouseLeft MouseMiddle MouseRight MouseX1 MouseX2
ScrollUp ScrollDown
Keyboard
Alt Ctrl Shift Win
A-Z 0-9 Num0-Num9 F1-F12
+ - * / . < > [ ] / \ ; ' ~
Enter Space Esc Tab Menu Pause Backspace
Left Right Up Down
Insert Delete Home End PageUp PageDown
LAlt RAlt LCtrl RCtrl LShift RShift
(additional Key Enum values could also be used).

Each input settings can have one of the following event specifiers:

  • Press(<input>) - The associated action would run on key or mouse button press event (this is the default behavior).

  • Release(<input>) - The associated action would run on key or mouse button release event.

  • Global(<input>) - The input would be registered as a system-wide hotkey, and the associated action would run on key press event. The expected input is a single key and an optional combination of modifier keys (Alt Ctrl Shift Win).

Default Inputs

  • Shader.Play - Start / Resume rendering.

    • Alt + Up

    • Global: Ctrl + Shift + Win + P.

  • Shader.Pause - Pause rendering.

    • Alt + Up

    • Global: Ctrl + Shift + Win + P.

  • Shader.Step - Render a single frame.

    • Alt + Right

    • ~

  • Shader.Restart - Restart rendering

    • Alt + Left

    • Alt + Down

    • Global: Ctrl + Shift + Win + O.

  • Uniforms - Open the Uniforms view.

    • Ctrl + U

  • StartPage - Open Start Page view.

  • Project.New - Open the New Project view.

    • Ctrl + N

  • Project.Open - Open project.

    • Ctrl + O

  • Project.Reload - Reload project.

    • Ctrl + Shift + R

  • Project.Save - Save project changes.

    • Ctrl + S

  • Help - Open help.

  • Shader.Mouse - Set shader mouse down state.

    • Mouse Left Button

  • Menu.Main - Open viewport menu.

    • Mouse Right Button

    • Menu

  • Menu.RecentProjects - Open Recent Projects submenu.

    • Ctrl + Shift + O

  • Menu.ProjectFiles - Open Project Files submenu.

    • Ctrl + Shift + F

  • Menu.Buffers - Open Buffers submenu.

    • Ctrl + B

  • Menu.Export - Open Export submenu.

    • Ctrl + Shift + E

  • Menu.Copy - Open Copy submenu.

    • Ctrl + Shift + C

  • Menu.Resolution - Open Resolution submenu.

  • Menu.FrameRate - Open Frame Rate submenu.

  • Menu.Speed - Open Speed submenu.

  • Menu.Viewer - Open Viewer submenu.

  • Menu.Options - Open Options submenu.

  • Resize.SnapSmall - Viewport resize snap modifier (1px).

    • Shift

  • Resize.SnapMedium - Viewport resize snap modifier (10px).

    • Ctrl

  • Resize.KeepRatio - Viewport resize keep ratio modifier.

    • Alt

  • Viewer.Pan - Pan viewer.

    • Mouse Middle Button

  • Viewer.PanSpeed - Pan speed modifier.

    • Shift

  • Viewer.PanSnap - Pan snap to pixel size modifier.

    • Alt

  • Viewer.Scale - Scale viewer.

    • Ctrl + Mouse Middle Button

    • Mouse Right Button + Mouse Middle Button

  • Viewer.ScaleUp - Scale up.

    • Ctrl + Mouse Scroll Up

    • Mouse Right Button + Mouse Scroll Up

    • Ctrl + +

    • Ctrl + Num+

  • Viewer.ScaleDown - Scale down.

    • Ctrl + Mouse Scroll Down

    • Mouse Right Button + Mouse Scroll Down

    • Ctrl + -

    • Ctrl + Num-

  • Viewer.ScaleReset - Reset viewer scale.

    • Ctrl + 0

    • Ctrl + Num0

  • Viewer.ScaleSpeed - Scale speed modifier.

    • Shift

  • Copy.Frame - Copy frame to clipboard.

  • Copy.FrameWithAlpha - Copy frame with alpha channel to clipboard.

  • Copy.Repeat - Repeat last copy action.

    • Ctrl + C

  • FullScreen.Toggle - Toggle full screen view.

    • F11

  • FullScreen.Leave - Leave full screen view.

    • Escape

  • Project.OpenFolder - Open project folder.

  • FrameRate.Full - Set full frame rate.

  • FrameRate.2 - Set 1/2 frame rate.

  • FrameRate.4 - Set 1/4 frame rate.

  • FrameRate.8 - Set 1/8 frame rate.

  • FrameRate.16 - Set 1/16 frame rate.

  • FrameRate.Decrease - Decrease the frame rate by a factor of 2.

  • FrameRate.Increase - Increase the frame rate by a factor of 2.

  • Resolution.Full - Set full resolution.

    • Ctrl + \

  • Resolution.2 - Set 1/2 resolution.

  • Resolution.4 - Set 1/4 resolution.

  • Resolution.8 - Set 1/8 resolution.

  • Resolution.16 - Set 1/16 resolution.

  • Resolution.32 - Set 1/32 resolution.

  • Resolution.64 - Set 1/64 resolution.

  • Resolution.Decrease - Downscale the resolution by a factor of 2.

    • Ctrl + [

  • Resolution.Increase Upscale the resolution by a factor of 2.

    • Ctrl + ]

  • Speed.1_16 - Set x1/16 speed.

  • Speed.1_8 - Set x1/8 speed.

  • Speed.1_4 - Set x1/4 speed.

  • Speed.1_2 - Set x1/2 speed.

  • Speed.Normal - Set full speed.

    • Shift + /

  • Speed.2 Set x2 speed.

  • Speed.4 Set x4 speed.

  • Speed.8 Set x8 speed.

  • Speed.16 Set x16 speed.

  • Speed.Decrease - Decrease the speed by a factor of 2.

    • Shift + <

  • Speed.Increase - Increase the speed by a factor of 2.

    • Shift + >

  • Buffer.1 - Select Buffer 1.

  • Buffer.2 - Select Buffer 2.

  • Buffer.3 - Select Buffer 3.

  • Buffer.4 - Select Buffer 4.

  • Buffer.5 - Select Buffer 5.

  • Buffer.6 - Select Buffer 6.

  • Buffer.7 - Select Buffer 7.

  • Buffer.8 - Select Buffer 8.

  • Buffer.Image - Select Image buffer.

    • Ctrl + /

  • Buffer.Next - Select next buffer.

    • Ctrl + >

  • Buffer.Previous - Select previous buffer.

    • Ctrl + <

  • Export.Frame - Export current frame.

  • Export.FrameRepeat - Export current frame to the next path.

  • Export.RenderSequence - Open Render Sequence view.

  • PinnedProject.1 - Open pinned project 1.

  • PinnedProject.2 - Open pinned project 2.

  • PinnedProject.3 - Open pinned project 3.

  • PinnedProject.4 - Open pinned project 4.

  • PinnedProject.5 - Open pinned project 5.

  • RecentProject.1 - Open most recent project.

    • Ctrl + Shift + Alt + O

  • RecentProject.2 - Open recent project 2.

  • RecentProject.3 - Open recent project 3.

  • RecentProject.4 - Open recent project 4.

  • RecentProject.5 - Open recent project 5.

  • Viewer.None - Disable viewer.

  • Viewer.ValuesOverlay - Set “Values Overlay” viewer.

  • Options.AlwaysOnTop - Toggle “Always On Top” option.

    • Ctrl + Shift + A

  • Options.AutoReload - Toggle “Auto Reload Project Files” option.

  • Options.RestartOnAutoReload - Toggle “Restart On Auto Reload” option.

  • Options.ClearStateOnRestart - Toggle “Clear State On Restart” option.

  • Options.PauseOnInactivity - Toggle “Pause On Inactivity” option.

  • Options.RenderInputEventsWhenPaused - Toggle “Render Input Events When Paused” option.

  • Options.WrapShaderInputCursor - Toggle “Wrap Shader Input Cursor”.

  • Options.EnableShaderCache - Toggle “Enable Shader Cache”.

  • Options.DarkTheme - Toggle “Dark Theme” option.

  • Options.OpenSettingsFile - Open application settings file.

  • Options.OpenInputsFile - Open application inputs file.

  • Options.OpenThemeFile - Open selected theme file.

Uniform Graph Editor
  • Graph.Drag - Drag value cursor.

    • MouseLeft,

  • Graph.DragCancel - Cancel value change.

    • MouseRight

    • Esc

  • Graph.SmallStepModifier - Snap to small increments.

    • Shift

  • Graph.MediumStepModifier - Snap to medium increments.

    • Ctrl

  • Graph.LargeStepModifier - Snap to large increments.

    • Ctrl + Shift,

  • Graph.Pan - Pan view.

    • Mouse Middle Button

  • Graph.Scale - Scale view.

    • Ctrl + Mouse Middle Button

    • Mouse Middle Button + Mouse Right Button

  • Graph.ScaleUp - Scale up.

    • Mouse Scroll Up

    • Mouse Right Button + Mouse Scroll Up

    • Ctrl + +

    • Ctrl + Num+

  • Graph.ScaleDown - Scale down.

    • Mouse Scroll Down

    • Mouse Right Button + Mouse Scroll Down

    • Ctrl + -

    • Ctrl + Num-

  • Graph.ScaleReset - Reset scale.

    • Ctrl + 0

    • Ctrl + Num0

  • Graph.ResetView - Reset pan and scale.

    • R

  • Graph.FocusView - Focus on cursor position.

    • F

  • Graph.ToggleTargetValue - Revert current value back to the initial value.

    • Mouse Right Button

  • Graph.ToggleSourceValue - Set current value as an initial value.

    • Ctrl + Mouse Right Button