Blender Git Loki

Git Commits -> Revision 71ed6f3

Revision 71ed6f3 by Philipp Oeser (master)
March 1, 2021, 08:04 (GMT)
Fix T84658: Anisotropic BSDF - most modes not using Screen Space
Reflection

Anisotropic is not really supported in Eevee, but since code looks like
it is just intended to make it behave like glossy, it should function
like it too.

Seems like the internal calling from `node_bsdf_glossy` from
`node_bsdf_anisotropic` has swapped arguments.
Also: ssr_id is available for SH_NODE_BSDF_ANISOTROPIC as well (see
`ntree_tag_bsdf_cb`), so why not use it?

Maniphest Tasks: T84658

Differential Revision: https://developer.blender.org/D10547

Commit Details:

Full Hash: 71ed6f32d2e3964f27204e3b9c6823fa61d7f8e4
Parent Commit: bfc70a6
Lines Changed: +11, -5

2 Modified Paths:

/source/blender/gpu/shaders/material/gpu_shader_material_anisotropic.glsl (+4, -3) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_anisotropic.c (+7, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021