Skip to content

dfranx/GodotShaderTranscompiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GodotShaderTranscompiler

I 'extracted' the source code for godot shader transcompiler from Godot into this simple library that converts Godot's shaders into GLSL. It is lightweight and has no dependencies.

It is super easy to use:

#include <GodotShaderTranscompiler/ShaderTranscompiler.h>

...
	gd::GLSLOutput out;
	gd::ShaderTranscompiler::Transcompile("GODOT SHADER HERE", out);
...

GLSLOutput structure will contain various information about the godot shader you've compiled, including the GLSL source code for vertex and fragment shaders.

About

A simple library that converts Godot's shaders into GLSL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages