It doesn’t work because this project has a lot of issues.Don’t get me wrong, but you should really learn the basics of materials, shaders, and the render script instead of spending 40 hours on broken AI code. The code is full of missing parts and bad API usage. It simply can’t work like this, and likely never will.
Also, asking for help with tons of badly formatted code and Spanish comments is not helpful at all. You should respect others’ time and effort by preparing a proper example to describe your issue.
Here’s what I’ve got so far. This is how your shader works, and I’m pretty sure this isn’t what you want.
It’s not using any kind of blurring technique. It just duplicates the texture.
Here are the files, but this is not a proper solution. I just want to show you the way. This solution still has many issues and a lot of things to improve. If you’re planning to use it as it is, just forget it. You can use it for learning purposes, though. Archive.zip (24.5 KB)