blender/release
Jeroen Bakker bb487bc2bc Fix T89984: Improve Icon previews reflective and transmissive materials.
Before this commit rendering material icons the floor will is hidden.
This reduces the readability of reflective/refractive materials.

check patch for additional screenshots and notes.

This patch will switch the floor material that uses ray visibility tricks to render a floor for reflective rays.

Eevee uses screen space reflections that makes this a different problem. There is nothing else drawn in
the scene in screen space so we need a different trick. Using math we convert a reflective ray to UV space
and generate a world that projects a checker pattern to infinity.

As now the floor is in the world it is being reflected via
a cubemap. As the film is transparent the background (including the floor isn't rendered)

In the future when Eevee supports vulkan raytracing we can re-evaluate and perhaps remove this
approximation.

We tried lightprobes but that wasn't able to do the trick.
Using the compositor would lead to more memory usage (render layers and intermediate buffers) and slower performance.
Solution has been validated with Simon

Reviewed By: sybren, Severin

Differential Revision: https://developer.blender.org/D11988
2021-08-11 16:59:57 +02:00
..
bin Cleanup: spelling 2017-04-27 21:41:03 +10:00
darwin Update all README to clearify intention or usage 2021-05-31 18:58:42 +02:00
datafiles Fix T89984: Improve Icon previews reflective and transmissive materials. 2021-08-11 16:59:57 +02:00
freedesktop Linux: prefer using dedicated GPU when launching Blender 2021-06-25 15:28:19 +02:00
license Licenses: Attribution document 2020-12-11 18:44:11 +01:00
lts Blender LTS: match download urls with latest changes in buildbot. 2021-05-19 16:41:51 +02:00
scripts Enable Asset Browser by default for poses, rest stays experimental 2021-08-11 14:32:07 +02:00
text Move license files to license subfolder 2020-09-24 12:49:36 +02:00
windows BuildBot: Cleanup 2021-06-01 15:18:11 +02:00