Studio › Manual › Shaders

When the code was edited by hand

If a shader's .vsh or .fsh changed after the graph wrote it (edited in the Code view, in GameMaker or anywhere else), opening it shows The graph is out of date:

  • Regenerate from Graph writes the code from the graph again; the hand edits go (Edit > Undo puts them back).
  • Detach Graph keeps your code and lets go of the graph: its file goes to the Trash (Edit > Undo brings it back) and the shader is plain code again.

Line-ending changes (a checkout on Windows) don't count as edits.

Keys are shown as on the Mac: ⌘ Command, ⌥ Option, ⌃ Control, ⇧ Shift. Studio for Windows shows its own keys beside each menu item.