summaryrefslogtreecommitdiffhomepage
path: root/examples/models/resources
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2017-07-19 18:55:26 +0200
committerraysan5 <[email protected]>2017-07-19 18:55:32 +0200
commit76c6f0b1e695b4090fd1e98d7f2d7ff7dea25641 (patch)
treef5055ea7986f6440fdeec3cab0c192eb361d584b /examples/models/resources
parente8b65422c45cab6505a2ec717e46010144496c5c (diff)
downloadraylib-76c6f0b1e695b4090fd1e98d7f2d7ff7dea25641.tar.gz
raylib-76c6f0b1e695b4090fd1e98d7f2d7ff7dea25641.zip
Working on PBR system
Moved PBR material loading to example, right decision?
Diffstat (limited to 'examples/models/resources')
-rw-r--r--examples/models/resources/shaders/pbr.fs3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/models/resources/shaders/pbr.fs b/examples/models/resources/shaders/pbr.fs
index 06814823..38d56c5d 100644
--- a/examples/models/resources/shaders/pbr.fs
+++ b/examples/models/resources/shaders/pbr.fs
@@ -8,10 +8,11 @@
#version 330
-#define MAX_LIGHTS 4
#define MAX_REFLECTION_LOD 4.0
#define MAX_DEPTH_LAYER 20
#define MIN_DEPTH_LAYER 10
+
+#define MAX_LIGHTS 4
#define LIGHT_DIRECTIONAL 0
#define LIGHT_POINT 1