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:
parent
f41d4735e9
commit
4094868f73
Notes:
blender-bot
2023-02-13 17:19:45 +01:00
Referenced by issue #92502, Position Pass broken
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue