0
\$\begingroup\$

I'm doing world position Y test to select ground pixel where I want my SSR to appear only. During ray march I'm doing the same to reject ground pixel.

For this I have to retrieve view space position for the ray march itself and then world position for this test. I would like to remove these extra world position calculs to make the shader faster.

I don't get how to do this height test with view space position. help welcome.

\$\endgroup\$

0

You must log in to answer this question.

Browse other questions tagged .