From b7c525830db6e477060e196743994f2c60009e35 Mon Sep 17 00:00:00 2001 From: ahbejarano Date: Sat, 9 Mar 2024 08:19:02 +0100 Subject: [PATCH] Fix GLSL version to access sampler array --- chapter-17/resources/shaders/scene.frag | 2 +- chapter-18/resources/shaders/scene.frag | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chapter-17/resources/shaders/scene.frag b/chapter-17/resources/shaders/scene.frag index 1606deb..6e788c0 100644 --- a/chapter-17/resources/shaders/scene.frag +++ b/chapter-17/resources/shaders/scene.frag @@ -1,4 +1,4 @@ -#version 330 +#version 410 const int DEBUG_SHADOWS = 0; const int MAX_POINT_LIGHTS = 5; diff --git a/chapter-18/resources/shaders/scene.frag b/chapter-18/resources/shaders/scene.frag index e70f703..5d40adb 100644 --- a/chapter-18/resources/shaders/scene.frag +++ b/chapter-18/resources/shaders/scene.frag @@ -1,4 +1,4 @@ -#version 330 +#version 410 const int DEBUG_SHADOWS = 0; const int MAX_POINT_LIGHTS = 5;