+2
Fixed

[SEVERE] Depth Mask and certain other transparency effects are off-center, this appears to be a severe rendering bug

chaoss 11 years ago updated by Freya Holmér (Developer) 11 years ago 7
Using a depth blend node connected to multiply with a dot product and a value, the dot product has both a view direction and view position node. This should produce radial fog from the view instead of linier and it does to a certain extend however the view seems off-center (see http://i.imgur.com/FYNm9XQ.jpg ). This bug has shown up in other transparency effects and other people have run into the same or a similar issue. Please fix it as it is preventing many shaders from appearing correctly
Why would that create a radial fog? I'm a bit confused
See the image attached (minus the normalize node I was experimenting), it creates the desired effect however the view is off-centered

http://i.imgur.com/FYNm9XQ.jpg
I saw that, but I'm not sure the math behind it is right
I have spent the last almost 48 hours intensively trying everything, and I either get strange trippy artefacts (which are quite fun to play with) or off center views, even when getting the wierd artefacts it's still off centered. It's the only thing that seems constant. I feel comfortable in saying that I've tried almost 500 different combinations to get this working and had no luck. I have literally ran out of various things to try leading me to the conclusion that it is infact a rendering bug
I think the depth stuff is quite flakey at the moment, I'm also having all kinds of issues with it
It is rather flakey, because it's a complex thing, especially when using forward rendering. I'll spend more time getting the depth stuff working right soon! There's quite a bunch of things to do at the moment, so it might take a while
(That said, this issue was unrelated to the depth node functionality, the math of the first post just wasn't right)