mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix: Vulkan: Volume Workbench Tests
Due to an incorrect assumption float buffers were converted to sRGB values when uploading to an sRGBA8 texture. This is done when rendering flames in workbench and resulted in to bright renders. This PR removes sRGB encoding when uploading float values to sRGBA8 textures. Fixes: - render/openvdb/fire - render/openvdb/principled_blackbody - render/openvdb/smoke_fire Pull Request: https://projects.blender.org/blender/blender/pulls/146636
This commit is contained in:
parent
52c028e0b0
commit
e0a056574d
2 changed files with 3 additions and 25 deletions
|
|
@ -101,6 +101,8 @@ def main():
|
|||
test_dir_name = Path(args.testdir).name
|
||||
if test_dir_name.startswith('hair') and platform.system() == "Darwin":
|
||||
report.set_fail_threshold(0.050)
|
||||
if test_dir_name.startswith('openvdb'):
|
||||
report.set_fail_threshold(0.04)
|
||||
|
||||
ok = report.run(args.testdir, args.blender, get_arguments, batch=args.batch)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue