jak-sdk / BookOfShaders-Godot

BookOfShaders in Godot Shader Language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The Book of Shaders - Godot

The Book of Shaders ported to Godot by J.R. Robinson

A learning resource for shader development.

Godot shading language

Migrate to Godot's Shading Language

Shout out to: glslViewer

Installation and Use

Option A

Download from releases or at itch

Option B

git clone https://github.com/jayaarrgh/BookOfShaders-Godot.git
cd BookOfShaders-Godot

Open with Godot 3.2

Export the project on your platform and use the executable.

or

Run the Main.tscn. Use the file dialog to switch shaders.

Tips

The hideable text editor swaps the shader code every 200 ms, and saves the file every 3000ms.

The reset button returns edited shaders to their default code.

To reset all shaders to the default shader code, delete the shaders folder in the user directory and reopen the application.

Create new folders and new shader code in the user directory.

WARNING: Automatic saving during runtime will overwrite external editor changes. If using an external text editor, this application should be closed first.

User Directory

Windows:
    %APPDATA%\Godot\app_userdata\Project Name

On GNU/Linux: 
    $HOME/.godot/app_userdata/Project Name
    OR
    $HOME/.local/share/godot/app_userdata/Project Name

About

BookOfShaders in Godot Shader Language

License:MIT License


Languages

Language:GLSL 95.6%Language:GDScript 4.4%