Files
test2/intern
Weizhen Huang dfe7b839bc Cycles: only apply function #ensure_valid_reflection to glossy materials
This function checks if the shading normal would result in an invalid reflection into the lower hemisphere; if it is the case, the function raises the shading normal just enough so that the specular reflection lies above the surface. This is a trick to prevent dark regions at grazing angles caused by normal/bump maps. However, the specular direction is not a good representation for a diffuse material, applying this function sometimes brightens the result too much and causes unexpected results. This patch applies the function to only glossy materials instead.

Pull Request: #105776
2023-03-20 14:35:02 +01:00
..
2022-02-11 09:14:36 +11:00
2022-03-18 12:07:08 +01:00
2023-03-14 12:51:37 +11:00
2023-02-07 14:17:01 +11:00
2023-02-07 14:17:01 +11:00
2022-08-15 16:10:29 +02:00