Weizhen Huang weizhen
  • Joined on 2022-10-03
Weizhen Huang commented on issue blender/blender#112596 2023-09-26 00:23:56 +02:00
Regression: Slower rendering performance

I’m unavailable until at least April 2024.

Weizhen Huang commented on pull request blender/blender#112848 2023-09-25 16:49:46 +02:00
Principled v2 combined changes for 4.0

Should be EEVEE in the commit messages (a59ec4c936)

Weizhen Huang commented on pull request blender/blender#112848 2023-09-25 16:45:32 +02:00
Principled v2 combined changes for 4.0

The F0 is clamped instead, following glTF (706ba4aa38)

Weizhen Huang commented on pull request blender/blender#112848 2023-09-25 16:11:24 +02:00
Principled v2 combined changes for 4.0

The EEVEE tests weren’t updated before the patch, they have some problems on Mac and look very foggy.

Weizhen Huang commented on pull request blender/blender#112848 2023-09-25 16:11:23 +02:00
Principled v2 combined changes for 4.0

Should clarify that 1 doubles the reflectivity at normal incidence, as suggested in the pull request

Weizhen Huang commented on pull request blender/blender#112848 2023-09-25 16:11:23 +02:00
Principled v2 combined changes for 4.0
Weizhen Huang commented on pull request blender/blender#112848 2023-09-25 16:11:22 +02:00
Principled v2 combined changes for 4.0

Should be something like “Tint of dielectric reflection at normal incidence or metallic reflection at near-grazing incidence”.

Weizhen Huang commented on pull request blender/blender#112848 2023-09-25 16:11:21 +02:00
Principled v2 combined changes for 4.0

… and specular to specular ior level

Weizhen Huang commented on pull request blender/blender#112551 2023-09-25 04:07:19 +02:00
Cycles: Add Metallic Tint to Principled BSDF using F82-Tint model

Seems to miss a semicolon

Weizhen Huang commented on pull request blender/blender#112552 2023-09-25 02:25:03 +02:00
Cycles/EEVEE: Change Specular input on Principled BSDF to affect IOR

Maybe “Adjust the specular reflectivity by modulating the IOR (0.5 means no adjustment, 0 removes all reflections, 1 doubles the reflectivity at normal incidence)”?

Weizhen Huang commented on pull request blender/blender#112552 2023-09-25 02:21:27 +02:00
Cycles/EEVEE: Change Specular input on Principled BSDF to affect IOR

OpenPBR does combine them

Indeed, they say “We assume that specular_ior (including any modulation via specular_ior_level as in equation ) defines n”

I don’t really like this approach…

Weizhen Huang commented on pull request blender/blender#112192 2023-09-19 19:46:37 +02:00
Cycles/EEVEE: Change specular tint in Principled BSDF from float to color

The pull request is now ready for review, with two TODOs that I probably have no time nor effort to finish. A few comments:

  • The multiscatter saturation logic of glass in EEVEE is copied from…
Weizhen Huang pushed to principled-specular-tint at weizhen/blender 2023-09-19 19:21:08 +02:00
84ad02cfe7 make format
09c1b3fdc5 Merge branch 'main' into principled-specular-tint
d7efd0b658 Add description
a1b0ba9812 Add versioning
cabf935afb Fix: Box select not working with tweak took in VSE
Compare 48 commits »
Weizhen Huang pushed to main at blender/blender 2023-09-19 15:03:00 +02:00
cae90106ac Fix: Cycles: assert error in microfacet BSDF
Weizhen Huang commented on pull request blender/blender#112551 2023-09-19 11:50:57 +02:00
Cycles: Add Metallic Tint to Principled BSDF using F82-Tint model

Does this metallic tint belong in the specular panel? In my pull request #112192 I was not sure if the specular tint should affect the metal edge color, because I think the metallic tint should go to the metallic panel. I don't think we should put both in the same panel.

Weizhen Huang commented on pull request blender/blender#112551 2023-09-19 11:50:57 +02:00
Cycles: Add Metallic Tint to Principled BSDF using F82-Tint model

We should add a reference to the formula. I guess Fresnel and Schlick is well-known enough so people know how to search for them, but this F82 is not.

Weizhen Huang commented on pull request blender/blender#112551 2023-09-19 11:50:56 +02:00
Cycles: Add Metallic Tint to Principled BSDF using F82-Tint model

If this is not implemented yet I would suggest to add a TODO in the metallic block.

Weizhen Huang suggested changes for blender/blender#112552 2023-09-19 10:44:02 +02:00
Cycles/EEVEE: Change Specular input on Principled BSDF to affect IOR

A specular value of 0 giving a diffuse material does sound more intuitive to me than the current approach. But I agree with Alaska that if transparent materials should not make use of the specular input, then we also shouldn't let the specular input affect the transparent IOR. We can adjust the specular IOR locally in its own block.

Weizhen Huang commented on pull request blender/blender#112552 2023-09-19 10:44:01 +02:00
Cycles/EEVEE: Change Specular input on Principled BSDF to affect IOR

This description is incorrect. A value of 1 doubles the reflectance only at normal incidence

Weizhen Huang commented on pull request blender/blender#112552 2023-09-19 10:44:00 +02:00
Cycles/EEVEE: Change Specular input on Principled BSDF to affect IOR

Don't move F0_from_ior() to here because