Closed BartSiwek closed 2 years ago
I should also add that is with the DirectX12 backend.
Hi @BartSiwek, We found the cause of the problem. This will be fixed in the next release. Thanks.
Hi @BartSiwek The problem has been fixed in version 1.7.3. Could you close the issue?
I have been adding a user defined filter to our filter pipeline for the purpose of converting a view space depth buffer to a NDC depth buffer that can be later consumed by the AI denoise filter.
For that purpose I added the following code:
The following line works well in the filter:
float ndcDepth = (conversionParams.x * depth + conversionParams.y)/(conversionParams.z * depth + conversionParams.w);
However when replaced with a line that contains space around the/
operator the filter no longer works and outputs zeros:float ndcDepth = (conversionParams.x * depth + conversionParams.y) / (conversionParams.z * depth + conversionParams.w);
Notes: