Quantcast
Channel: Questions in topic: "curved path"
Viewing all articles
Browse latest Browse all 116

Overwrite DepthNormalsTexture

$
0
0
Hello, i have a problem with vertex offset and SSAO. The problem ground in curving the world, i'm offsetting all vertexes in the vertex part of the shader. But sins DepthNormalsTexture is written before the model shaders have run, the offset is not visseble on the DepthNormalsTexture, when my SSAO is taking information from the DepthNormalTexture, it gets informations about a uncurved world, and that displays my SSAO out of position. Is there any way i can force my shaders to run before the DepthNormalTexture is written, or overwrite the texture ?

Viewing all articles
Browse latest Browse all 116

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>