Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/gpu/shaders/gpu_shader_material_bsdf_glossy.glsl')
-rw-r--r--source/blender/gpu/shaders/gpu_shader_material_bsdf_glossy.glsl3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_material_bsdf_glossy.glsl b/source/blender/gpu/shaders/gpu_shader_material_bsdf_glossy.glsl
index 839ce99326e..c1c10c38d5c 100644
--- a/source/blender/gpu/shaders/gpu_shader_material_bsdf_glossy.glsl
+++ b/source/blender/gpu/shaders/gpu_shader_material_bsdf_glossy.glsl
@@ -575,7 +575,8 @@ void env_sampling_glossy_sharp(
srgb_to_linearrgb(sample_ssr, sample_ssr);
result = mix(sample_probe.rgb, sample_ssr.rgb, contrib);
- result = -texelFetch(unfscenebuf, ivec2(gl_FragCoord.xy), 0).aaa / 100;
+ //result = mix(vec3(0.0), sample_ssr.rgb, contrib);
+ //result = vec3(texelFetch(unfdepthbuf, ivec2(gl_FragCoord.xy) / int(pow(2,unfssrparam.x-1)), int(unfssrparam.x-1)).r);
#else
result = sample_probe.rgb;
#endif