X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=shaderlib%2Fcooktorrance.glsl;h=4b0c4dc814ca5b16e903d7003f1371b96b3c6503;hb=b9d8d358aab136fb1d1242360fe4f3c3711bde11;hp=71f8ec76c8df64046cd3a2a70e46742b5f23aa87;hpb=6b9338845dfee441cd18ad6c633e4feef8ad14e1;p=libs%2Fgl.git diff --git a/shaderlib/cooktorrance.glsl b/shaderlib/cooktorrance.glsl index 71f8ec76..4b0c4dc8 100644 --- a/shaderlib/cooktorrance.glsl +++ b/shaderlib/cooktorrance.glsl @@ -30,8 +30,6 @@ layout(constant_id=auto) const bool use_emission = false; layout(constant_id=auto) const bool use_emission_map = false; layout(constant_id=auto) const bool use_image_based_lighting = false; -const float PI = 3.1415926535; - #pragma MSP stage(fragment) virtual vec4 get_base_color() {