Replace BRDF approximation with a DFG LUT

This commit is contained in:
LiveTrower
2025-03-10 13:12:44 -06:00
parent 1a1cc0f7b0
commit 44408eabaa
8 changed files with 250 additions and 24 deletions

View File

@@ -723,6 +723,8 @@
</constant>
<constant name="SPECULAR_SCHLICK_GGX" value="0" enum="SpecularMode">
Default specular blob.
[b]Note:[/b] Forward+ uses multiscattering for more accurate reflections, although the impact of multiscattering is more noticeable on rough metallic surfaces than on smooth, non-metallic surfaces.
[b]Note:[/b] Mobile and Compatibility don't perform multiscattering for performance reasons. Instead, they perform single scattering, which means rough metallic surfaces may look slightly darker than intended.
</constant>
<constant name="SPECULAR_TOON" value="1" enum="SpecularMode">
Toon blob which changes size based on roughness.