Fix T92502: Position Pass broken

The kernel was writing it for the first sample only, while the film
accessor was thinking it needs to be filtered.
This commit is contained in:
Sergey Sharybin 2021-10-26 16:05:33 +02:00
parent f41d4735e9
commit 4094868f73
Notes: blender-bot 2023-02-13 17:19:45 +01:00
Referenced by issue #92502, Position Pass broken
1 changed files with 1 additions and 0 deletions

View File

@ -182,6 +182,7 @@ PassInfo Pass::get_info(const PassType type, const bool include_albedo)
break;
case PASS_POSITION:
pass_info.num_components = 3;
pass_info.use_filter = false;
break;
case PASS_NORMAL:
pass_info.num_components = 3;