1
1

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:
2021-10-26 16:05:33 +02:00
parent f41d4735e9
commit 4094868f73

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;