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:
@@ -182,6 +182,7 @@ PassInfo Pass::get_info(const PassType type, const bool include_albedo)
|
|||||||
break;
|
break;
|
||||||
case PASS_POSITION:
|
case PASS_POSITION:
|
||||||
pass_info.num_components = 3;
|
pass_info.num_components = 3;
|
||||||
|
pass_info.use_filter = false;
|
||||||
break;
|
break;
|
||||||
case PASS_NORMAL:
|
case PASS_NORMAL:
|
||||||
pass_info.num_components = 3;
|
pass_info.num_components = 3;
|
||||||
|
Reference in New Issue
Block a user