X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=shaderlib%2Fcommon.glsl;h=f952c8bd6c1cb34c647d869011ea51fd61d1ff29;hb=7f03ee52e8af5f857e44702b6d1c2822a51c62ef;hp=9e794f1d2c17eca99c48f847bf0d91ba96235ac1;hpb=6dcf74922f46b086ad394c19fd6ce083a635b290;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)