Daniel Salvadori e1a3ee35ac Remove old sprite shaders преди 6 години
..
include 5fcf703c82 Optimize and clean shaders преди 6 години
README.md f2e8d9152f changing shaders preprocessing... преди 8 години
basic_fragment.glsl cf98332151 Add precision qualifiers and fix floats преди 6 години
basic_vertex.glsl 6d47c8aa75 changing shaders preprocessing... преди 8 години
panel_fragment.glsl cf98332151 Add precision qualifiers and fix floats преди 6 години
panel_vertex.glsl cf98332151 Add precision qualifiers and fix floats преди 6 години
phong_fragment.glsl 90f4f0f128 Convert multiline defines into GLSL functions преди 6 години
phong_vertex.glsl cf98332151 Add precision qualifiers and fix floats преди 6 години
physical_fragment.glsl c2e7b112e2 modified pbr shader to use texture() instead of deprecated texture2D() преди 7 години
physical_vertex.glsl 5fcf703c82 Optimize and clean shaders преди 6 години
point_fragment.glsl 90f4f0f128 Convert multiline defines into GLSL functions преди 6 години
point_vertex.glsl 01e8fec3a1 changing shaders preprocessing... преди 8 години
shaders.go 9e48c7ee3e cleanup/docs преди 7 години
sources.go e1a3ee35ac Remove old sprite shaders преди 6 години
standard_fragment.glsl 90f4f0f128 Convert multiline defines into GLSL functions преди 6 години
standard_vertex.glsl cf98332151 Add precision qualifiers and fix floats преди 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".