danaugrs 29a5ff33c8 cleanup/docs/golint 7 年之前
..
include f981c3d183 changing uniform transfes... 8 年之前
README.md f2e8d9152f changing shaders preprocessing... 8 年之前
basic_fragment.glsl 6d47c8aa75 changing shaders preprocessing... 8 年之前
basic_vertex.glsl 6d47c8aa75 changing shaders preprocessing... 8 年之前
panel_fragment.glsl e61c851b55 changing uniform transfers... 8 年之前
panel_vertex.glsl 6d47c8aa75 changing shaders preprocessing... 8 年之前
phong_fragment.glsl 3edc93f100 changing shaders preprocessing... 8 年之前
phong_vertex.glsl 6d47c8aa75 changing shaders preprocessing... 8 年之前
point_fragment.glsl c2c5ea02f5 changed point shader to use macro 8 年之前
point_vertex.glsl 01e8fec3a1 changing shaders preprocessing... 8 年之前
shaders.go 29a5ff33c8 cleanup/docs/golint 7 年之前
sources.go 29a5ff33c8 cleanup/docs/golint 7 年之前
sprite_fragment.glsl 6d47c8aa75 changing shaders preprocessing... 8 年之前
sprite_vertex.glsl 6d47c8aa75 changing shaders preprocessing... 8 年之前
standard_fragment.glsl 3edc93f100 changing shaders preprocessing... 8 年之前
standard_vertex.glsl 6d47c8aa75 changing shaders preprocessing... 8 年之前

README.md

This directory contains GLSL shaders used by the engine

If any shader in this directory or include 'chunk' in the "include" subdirectory is modified or a new shader or chunk is added or removed it is necessary to execute:

go generate

in this directory to update the "sources.go" file. It will invoke the "g3nshaders" command which will read the shaders and include files and generate the "sources.go" file.

To install "g3nshaders" change to the "tools/g3nshaders" directory from the engine "root" and execute: "go install".