Daniel Salvadori 7b89285c3b Various fixes and improvements %!s(int64=3) %!d(string=hai) anos
..
include e56e219515 Implement Blinn-Phong model and material %!s(int64=4) %!d(string=hai) anos
README.md f2e8d9152f changing shaders preprocessing... %!s(int64=8) %!d(string=hai) anos
basic_fragment.glsl 973727e925 Make Phong the Standard material. %!s(int64=6) %!d(string=hai) anos
basic_vertex.glsl 973727e925 Make Phong the Standard material. %!s(int64=6) %!d(string=hai) anos
panel_fragment.glsl a6db6017ca Fix constant texture indexing and add workaround for gl_FrontFacing %!s(int64=6) %!d(string=hai) anos
panel_vertex.glsl 973727e925 Make Phong the Standard material. %!s(int64=6) %!d(string=hai) anos
physical_fragment.glsl 973727e925 Make Phong the Standard material. %!s(int64=6) %!d(string=hai) anos
physical_vertex.glsl 973727e925 Make Phong the Standard material. %!s(int64=6) %!d(string=hai) anos
point_fragment.glsl bf87e32ba5 Fix constant texture indexing for points %!s(int64=6) %!d(string=hai) anos
point_vertex.glsl 973727e925 Make Phong the Standard material. %!s(int64=6) %!d(string=hai) anos
shaders.go 9e48c7ee3e cleanup/docs %!s(int64=7) %!d(string=hai) anos
sources.go 7b89285c3b Various fixes and improvements %!s(int64=3) %!d(string=hai) anos
standard_fragment.glsl 643d63832d Remove unnecessary extension declaration %!s(int64=6) %!d(string=hai) anos
standard_vertex.glsl 0aab5201c3 Fix gnarly shader problem (camDir should not be normalized before interpolation) %!s(int64=6) %!d(string=hai) anos

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