diff options
author | Dave Parks <davep@lindenlab.com> | 2022-09-20 12:28:45 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-09-20 12:28:45 -0500 |
commit | 1eeee12ecb4753cc4b651e18474bb80de45fcede (patch) | |
tree | 3a61b841f1d5cb05958a41d526ba9e388bd45ab9 /indra/newview/app_settings/shaders/class3/deferred | |
parent | 7a9811ee115b7bb678d1310e0c833dc9ac7139ab (diff) |
SL-18190 Don't allocate mips for irradiance maps because they're never generated. Disable OpenGL core profile on Intel by default.
Diffstat (limited to 'indra/newview/app_settings/shaders/class3/deferred')
-rw-r--r-- | indra/newview/app_settings/shaders/class3/deferred/reflectionProbeF.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class3/deferred/reflectionProbeF.glsl b/indra/newview/app_settings/shaders/class3/deferred/reflectionProbeF.glsl index 37fe5f53a2..463709de9e 100644 --- a/indra/newview/app_settings/shaders/class3/deferred/reflectionProbeF.glsl +++ b/indra/newview/app_settings/shaders/class3/deferred/reflectionProbeF.glsl @@ -364,7 +364,7 @@ vec3 tapIrradianceMap(vec3 pos, vec3 dir, vec3 c, float r2, int i) v -= c; v = env_mat * v; { - return textureLod(irradianceProbes, vec4(v.xyz, refIndex[i].x), 0).rgb * refParams[i].x; + return texture(irradianceProbes, vec4(v.xyz, refIndex[i].x)).rgb * refParams[i].x; } } |