Is there any way to blur a texture parameter in material editor?
I know that spiral blur can blur TextureObjects.
But I need my texture to be a parameter but that can not be plugged into the sprial blur node
SpiralBlur function requires TextureObject to sample from, but if you want to change it in material instance, you can copy all the nodes from that function into material itself.
And I want to ask you - are you sure you need spiral blur? You can also blur texture with custom hlsl code.
This does not work because inside spiral blur is already custom hlsl code
And the βTexβ does only read texture object and I Dont know how to solve this.
I now ended up with sampling my texture by a specific offset.
If anybody knows how to write this in hlsl code please tell me.
and the result if following
try making a material function with a texture sample parameter in it to use instead of the TextureObject