1
0
Fork 0

Compositor: Use #version 140 for clustered shading

This fixes compatibility issues with AMD graphics cards that support a OpenGL
3.1 compatibility profile. Integrated Intel GPUs using the Mesa drivers should set the environment variable:
MESA_GL_VERSION_OVERRIDE="3.1COMPAT"
This commit is contained in:
Fernando García Liñán 2020-04-02 21:32:05 +02:00
parent 6ef32c6dac
commit f0ee8f23d2

View file

@ -1,4 +1,4 @@
#version 150
#version 140
uniform usampler3D fg_ClusteredLightGrid;
uniform usamplerBuffer fg_ClusteredLightIndices;