Daniel Salvadori cf98332151 Add precision qualifiers and fix floats 6 anos atrás
..
include b7cc1e54cd fixed bone shader chunks 7 anos atrás
README.md f2e8d9152f changing shaders preprocessing... 8 anos atrás
basic_fragment.glsl cf98332151 Add precision qualifiers and fix floats 6 anos atrás
basic_vertex.glsl 6d47c8aa75 changing shaders preprocessing... 8 anos atrás
panel_fragment.glsl cf98332151 Add precision qualifiers and fix floats 6 anos atrás
panel_vertex.glsl cf98332151 Add precision qualifiers and fix floats 6 anos atrás
phong_fragment.glsl cf98332151 Add precision qualifiers and fix floats 6 anos atrás
phong_vertex.glsl cf98332151 Add precision qualifiers and fix floats 6 anos atrás
physical_fragment.glsl c2e7b112e2 modified pbr shader to use texture() instead of deprecated texture2D() 7 anos atrás
physical_vertex.glsl 9233aba005 implemented skinning and glTF loading of rigged meshes 7 anos atrás
point_fragment.glsl cf98332151 Add precision qualifiers and fix floats 6 anos atrás
point_vertex.glsl 01e8fec3a1 changing shaders preprocessing... 8 anos atrás
shaders.go 9e48c7ee3e cleanup/docs 7 anos atrás
sources.go cf98332151 Add precision qualifiers and fix floats 6 anos atrás
sprite_fragment.glsl cf98332151 Add precision qualifiers and fix floats 6 anos atrás
sprite_vertex.glsl cf98332151 Add precision qualifiers and fix floats 6 anos atrás
standard_fragment.glsl cf98332151 Add precision qualifiers and fix floats 6 anos atrás
standard_vertex.glsl cf98332151 Add precision qualifiers and fix floats 6 anos atrás

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