summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/shaders/pbr-frag.glsl1
-rw-r--r--data/shaders/phong-frag.glsl1
-rw-r--r--data/shaders/skybox-frag.glsl1
3 files changed, 3 insertions, 0 deletions
diff --git a/data/shaders/pbr-frag.glsl b/data/shaders/pbr-frag.glsl
index 95986a4..a211096 100644
--- a/data/shaders/pbr-frag.glsl
+++ b/data/shaders/pbr-frag.glsl
@@ -1,4 +1,5 @@
// -*- mode: c -*-
+#extension GL_NV_shadow_samplers_cube : enable
struct Material {
vec3 baseColorFactor;
diff --git a/data/shaders/phong-frag.glsl b/data/shaders/phong-frag.glsl
index 979869e..c1a19c1 100644
--- a/data/shaders/phong-frag.glsl
+++ b/data/shaders/phong-frag.glsl
@@ -1,4 +1,5 @@
// -*- mode: c -*-
+#extension GL_NV_shadow_samplers_cube : enable
struct Material {
vec3 ambient;
diff --git a/data/shaders/skybox-frag.glsl b/data/shaders/skybox-frag.glsl
index b388828..5556093 100644
--- a/data/shaders/skybox-frag.glsl
+++ b/data/shaders/skybox-frag.glsl
@@ -1,4 +1,5 @@
// -*- mode: c -*-
+#extension GL_NV_shadow_samplers_cube : enable
#ifdef GLSL120
varying vec3 fragDir;