Daniel Salvadori 3b93189cbb cleanup/docs 7 vuotta sitten
..
include 3b93189cbb cleanup/docs 7 vuotta sitten
README.md f2e8d9152f changing shaders preprocessing... 8 vuotta sitten
basic_fragment.glsl 6d47c8aa75 changing shaders preprocessing... 8 vuotta sitten
basic_vertex.glsl 6d47c8aa75 changing shaders preprocessing... 8 vuotta sitten
panel_fragment.glsl 3d9211ec5f improved edit/label/font and panel shader 7 vuotta sitten
panel_vertex.glsl 6d47c8aa75 changing shaders preprocessing... 8 vuotta sitten
phong_fragment.glsl 3edc93f100 changing shaders preprocessing... 8 vuotta sitten
phong_vertex.glsl 4afe69c400 implemented morphtargets 7 vuotta sitten
physical_fragment.glsl c2e7b112e2 modified pbr shader to use texture() instead of deprecated texture2D() 7 vuotta sitten
physical_vertex.glsl 4afe69c400 implemented morphtargets 7 vuotta sitten
point_fragment.glsl c2c5ea02f5 changed point shader to use macro 8 vuotta sitten
point_vertex.glsl 01e8fec3a1 changing shaders preprocessing... 8 vuotta sitten
shaders.go 9e48c7ee3e cleanup/docs 7 vuotta sitten
sources.go 4afe69c400 implemented morphtargets 7 vuotta sitten
sprite_fragment.glsl 6d47c8aa75 changing shaders preprocessing... 8 vuotta sitten
sprite_vertex.glsl 6d47c8aa75 changing shaders preprocessing... 8 vuotta sitten
standard_fragment.glsl 3edc93f100 changing shaders preprocessing... 8 vuotta sitten
standard_vertex.glsl 4afe69c400 implemented morphtargets 7 vuotta sitten

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".