How you combine nodes to output a texture affected by a gradient blur?


#1

I am creating a caustic effect and would like to darken some areas, but also to blur those areas based on a relationship between blur-dark pixel information.

I have no idea to do this other than actually making a two textures, one blurred, one sharp, and outputting them respectively based on a pixel condition. But that is far from being a gradient, and its ugly.


#2

I also thought It would be just a matter of connecting some map output (where I can get darker areas) to a remapValue, and connect it to the Pre-Filter Radius, using Gaussian as Filter Type…

But makes it also makes no effect.