danaugrs c2e7b112e2 modified pbr shader to use texture() instead of deprecated texture2D() hace 7 años
..
include 2436e39e34 use trilinear filtering by default hace 7 años
README.md f2e8d9152f changing shaders preprocessing... hace 8 años
basic_fragment.glsl 6d47c8aa75 changing shaders preprocessing... hace 8 años
basic_vertex.glsl 6d47c8aa75 changing shaders preprocessing... hace 8 años
panel_fragment.glsl 3d9211ec5f improved edit/label/font and panel shader hace 7 años
panel_vertex.glsl 6d47c8aa75 changing shaders preprocessing... hace 8 años
phong_fragment.glsl 3edc93f100 changing shaders preprocessing... hace 8 años
phong_vertex.glsl 6d47c8aa75 changing shaders preprocessing... hace 8 años
physical_fragment.glsl c2e7b112e2 modified pbr shader to use texture() instead of deprecated texture2D() hace 7 años
physical_vertex.glsl 9516690de4 improved pbr shaders hace 7 años
point_fragment.glsl c2c5ea02f5 changed point shader to use macro hace 8 años
point_vertex.glsl 01e8fec3a1 changing shaders preprocessing... hace 8 años
shaders.go 29a5ff33c8 cleanup/docs/golint hace 7 años
sources.go c2e7b112e2 modified pbr shader to use texture() instead of deprecated texture2D() hace 7 años
sprite_fragment.glsl 6d47c8aa75 changing shaders preprocessing... hace 8 años
sprite_vertex.glsl 6d47c8aa75 changing shaders preprocessing... hace 8 años
standard_fragment.glsl 3edc93f100 changing shaders preprocessing... hace 8 años
standard_vertex.glsl 6d47c8aa75 changing shaders preprocessing... hace 8 años

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