Graphics: Allow OpenGL 3.3 to use the engine (with shadow disabled)
I still have a figure a better solution Former-commit-id: b3ec42f07411f1c92f67b1a0bcba59d1cdbd68a6 [formerly 9c4d8e27a0e7a2182a0229e3313e44a442f91f85] [formerly 8c105a9e2769c56d8f89ea8eeb50fb1f10409913 [formerly 9d66d3c4f613d6a2d841ed2106468895464562f5]] Former-commit-id: 6294d304178787f40860e5e603af7a0d82a9a895 [formerly 5cd271ac68b26853c648c4f7e8611acfaa028270] Former-commit-id: 54af050a382daa92216dd512596040e5496f453f
This commit is contained in:
parent
888e39444a
commit
b0de2364a5
|
|
@ -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