#Shader effect not getting cleared

1 messages · Page 1 of 1 (latest)

next patio
#

The shader works perfectly in the editor.
The build version has a problem where the effect adds up with the ones from the previous frames.

night thistle
#

is this a render feature? how are you clearing the buffers?

next patio
# night thistle is this a render feature? how are you clearing the buffers?

No, it works by having a second camera record only the fluid spheres and project them onto a render texture. This texture gets applied to a plane in front of the camera with a material. The material is based on a shader that blurs the render texture and then only takes the values with a certain value to get hard edges.

night thistle
#

are the clear settings of that fluid camera correct?