X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=shaderlib%2Fcommon.glsl;h=03cfd5af7c62a610a815a031c64abf5f7a4f6772;hb=b4fe073653da9e27bf486b1b4366fe44b6138bb4;hp=33fefe8806deb4ddfa7240c5394f1778f082d1c1;hpb=f501ffe2862fd8b4c5793542190e8e0a0d8de667;p=libs%2Fgl.git diff --git a/shaderlib/common.glsl b/shaderlib/common.glsl index 33fefe88..03cfd5af 100644 --- a/shaderlib/common.glsl +++ b/shaderlib/common.glsl @@ -77,6 +77,8 @@ struct IncomingLight vec3 color; }; +layout(location=0) out vec4 frag_color; + virtual vec3 get_fragment_normal() { if(use_normal_map)