Shader: Only clamp undefined or unsupported inputs of Principled BSDF #112895

Merged
Lukas Stockner merged 39 commits from Alaska/blender:clamp-tint into blender-v4.0-release 2023-10-31 03:14:14 +01:00

39 Commits

Author SHA1 Message Date
Alaska 533743bd26 Merge branch 'blender-v4.0-release' into clamp-tint
buildbot/vexp-code-patch-coordinator Build done. Details
2023-10-24 01:01:41 +13:00
Alaska 079c590f4c Make format 2023-10-24 01:00:02 +13:00
Alaska 32888eeb7d Clamp transmission color
Turns out the transmission behaves unpredicatbly when they are rough and have high base colours
2023-10-24 00:59:53 +13:00
Alaska a05a412840 Remove mix between clamped and non-clamped base colours 2023-10-24 00:54:39 +13:00
Alaska 086eece53e Clamp coat weight mix for sheen normal SVM 2023-10-20 13:34:18 +13:00
Alaska cf25219d43 Apply layer weight clamping to EEVEE 2023-10-20 13:30:31 +13:00
Alaska 7dc05adbb4 Adjust coat weight clamping 2023-10-20 13:20:57 +13:00
Alaska d35fc7bc24 Remove old emission code 2023-10-20 13:04:07 +13:00
Alaska bc703beb79 Merge branch blender-v4.0-release 2023-10-20 13:03:07 +13:00
Alaska 912b667fea OSL explicitly clamp sheen weight 2023-10-19 17:39:58 +13:00
Alaska 845c5f6011 Merge branch 'blender-v4.0-release' into clamp-tint 2023-10-19 17:26:40 +13:00
Alaska 52b61b37f4 Address review
- Explicitly clamp things to make the code clearer
- Clamp the product of subsurface radius instead of individual components
- Group clamps in OSL script
2023-10-19 17:19:22 +13:00
Alaska 0cbb81e54c Add code comment about something that will be removed in the future 2023-10-19 16:56:09 +13:00
Alaska 118339d7fc Remove random code comment 2023-10-11 19:16:10 +13:00
Alaska 55a2f8e450 make format 2023-10-11 18:14:21 +13:00
Alaska 79cf86d964 Fix Emission 2023-10-11 18:12:31 +13:00
Alaska f4231d6a6c Clamp sheen tint 2023-10-11 18:04:17 +13:00
Alaska f77e2d5bb3 Clamp coat weight in EEVEE 2023-10-11 17:46:24 +13:00
Alaska 48e21bff9d Clamp sheen weight 2023-10-11 17:44:13 +13:00
Alaska 0ae4621a25 Clamp coat ior 2023-10-11 17:20:25 +13:00
Alaska b52682017f Clamp coat tint 2023-10-11 17:02:02 +13:00
Alaska 8743beec8f Clamp coat weight 2023-10-11 16:55:12 +13:00
Alaska 6213c50e67 Clamp Transmission Weight 2023-10-11 16:31:35 +13:00
Alaska e0f59887d1 Clamp anisotropic 2023-10-11 16:00:10 +13:00
Alaska 131d7db0b5 Clamp specular tint 2023-10-11 15:43:13 +13:00
Alaska 496a108297 Clamp Specular IOR level 2023-10-11 15:22:40 +13:00
Alaska 472b163bec Add comments about subsurface IOR clamps 2023-10-11 15:13:13 +13:00
Alaska 6140274158 Add comments about subsurface anisotropy clamping 2023-10-11 15:11:06 +13:00
Alaska 270a6ec0ff Clamp subsurface scale 2023-10-11 15:08:40 +13:00
Alaska db3899f614 Clamp subsurface radius 2023-10-11 15:04:26 +13:00
Alaska b4efa20bd6 Clamp metallic 2023-10-11 14:59:44 +13:00
Alaska 39f3bbf9b0 Clamp Subsurface Weight 2023-10-11 14:49:18 +13:00
Alaska 5247f63593 Clamp Alpha 2023-10-11 14:42:22 +13:00
Alaska 43ae9949ac Clamp IOR 2023-10-11 14:37:21 +13:00
Alaska b46aff1f7e Clamp roughness inputs 2023-10-11 14:34:43 +13:00
Alaska 6e0d74045d Clamp base color for Metallic and Subsurface 2023-10-11 14:26:17 +13:00
Alaska 2dba935f42 Clamp base color to 0..infinity 2023-10-11 13:59:18 +13:00
Alaska 3519786abe Fix build issues 2023-10-11 13:39:28 +13:00
Alaska 0679abdc8a Remove many input clamps 2023-10-11 13:31:43 +13:00