Daniel Salvadori 5c74c654d0 Fix grazing light rays issue пре 6 година
..
include 5c74c654d0 Fix grazing light rays issue пре 6 година
README.md f2e8d9152f changing shaders preprocessing... пре 8 година
basic_fragment.glsl 973727e925 Make Phong the Standard material. пре 6 година
basic_vertex.glsl 973727e925 Make Phong the Standard material. пре 6 година
panel_fragment.glsl a6db6017ca Fix constant texture indexing and add workaround for gl_FrontFacing пре 6 година
panel_vertex.glsl 973727e925 Make Phong the Standard material. пре 6 година
physical_fragment.glsl 973727e925 Make Phong the Standard material. пре 6 година
physical_vertex.glsl 973727e925 Make Phong the Standard material. пре 6 година
point_fragment.glsl 973727e925 Make Phong the Standard material. пре 6 година
point_vertex.glsl 973727e925 Make Phong the Standard material. пре 6 година
shaders.go 9e48c7ee3e cleanup/docs пре 7 година
sources.go 5c74c654d0 Fix grazing light rays issue пре 6 година
standard_fragment.glsl 643d63832d Remove unnecessary extension declaration пре 6 година
standard_vertex.glsl 0aab5201c3 Fix gnarly shader problem (camDir should not be normalized before interpolation) пре 6 година

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