Fix T62892 EEVEE HDRI lightning glitch
authorClément Foucault <foucault.clem@gmail.com>
Fri, 5 Apr 2019 12:37:38 +0000 (14:37 +0200)
committerClément Foucault <foucault.clem@gmail.com>
Fri, 5 Apr 2019 12:38:27 +0000 (14:38 +0200)
commitf0d6879f5c7998be98ac406bd6ddaa5104961206
tree520e2e08c12d215e29c790dd9b85a3aa7e41f226
parenta180b754eb40637a5d37eeb0ae60066f5a6f93d8
Fix T62892 EEVEE HDRI lightning glitch

Clamp the texture at sampling time. This is not the best way to do it but
this is the fastest/simplest. The cost is rather negligeable.
source/blender/gpu/shaders/gpu_shader_material.glsl