X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=shaderlib%2Fcommon.glsl;h=f952c8bd6c1cb34c647d869011ea51fd61d1ff29;hb=a3c33df71e507380100069ad7ef802b61de351bb;hp=9e794f1d2c17eca99c48f847bf0d91ba96235ac1;hpb=532b877ac54969ca186b12b05baa483625e3f5d0;p=libs%2Fgl.git diff --git a/shaderlib/common.glsl b/shaderlib/common.glsl index 9e794f1d..f952c8bd 100644 --- a/shaderlib/common.glsl +++ b/shaderlib/common.glsl @@ -1,6 +1,14 @@ import msp_interface; import shadow; +uniform EnvMap +{ + mat3 env_eye_matrix; +}; + +uniform sampler2D normal_map; +uniform samplerCube environment_map; + layout(constant_id=auto) const bool use_normal_map = false; #pragma MSP stage(vertex)