Graphics: Allow OpenGL 3.3 to use the engine (with shadow disabled)
I still have a figure a better solution Former-commit-id: 9a3dcc73288ef2d094f87b7d89fb964be3bcd7c0 [formerly c231ae17e7603200529c31b750f7679af8b03931] [formerly 2fa92f5bf7d2aa2d0161e1c8522100b4912f0d1b [formerly 3efc46381638ed065edcb4a3cf16a9d10f5b8cc3]] Former-commit-id: b46272bfc3d671a876eafff1fd31643bc37bb49c [formerly 219ff5ec8d057e5d6efe3c73d3e59156da1e7575] Former-commit-id: 18b860c45d7176848b832b62a57dff00dbeb7ffe
This commit is contained in:
parent
c1b2f3af00
commit
b096096e83
|
|
@ -2,6 +2,13 @@
|
|||
layout(early_fragment_tests) in;
|
||||
#endif
|
||||
|
||||
// HACK UNTIL PROPER FIX
|
||||
#if GLSL_VERSION < 400
|
||||
#undef SHADOW_MAPPING
|
||||
#define SHADOW_MAPPING 0
|
||||
#endif
|
||||
// HACK
|
||||
|
||||
#define LIGHT_DIRECTIONAL 0
|
||||
#define LIGHT_POINT 1
|
||||
#define LIGHT_SPOT 2
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue