Port some basic shaders to use #stk_include.

Already working race with disabled advanced lighting :)
This commit is contained in:
Deve
2016-06-26 16:39:34 +02:00
parent b27f771318
commit f679078e75
18 changed files with 43 additions and 52 deletions
-2
View File
@@ -397,8 +397,6 @@ public:
ToneMapShader()
{
loadProgram(OBJECT, GL_VERTEX_SHADER, "screenquad.vert",
GL_FRAGMENT_SHADER, "utils/getRGBfromCIEXxy.frag",
GL_FRAGMENT_SHADER, "utils/getCIEXYZ.frag",
GL_FRAGMENT_SHADER, "tonemap.frag");
assignUniforms("vignette_weight");
assignSamplerNames(0, "text", ST_NEAREST_FILTERED);