I've been talking to AI and watching tutorials for 40 hours Motion blur does not draw

I’ve been talking to AI and watching tutorials for 40 hours to do the post-processed motion blur and I can do it. This is my project.

I can’t get the motion blur effect,

Okay, here’s the super-quick explanation of what we’ve put together:

Modified Render Script: Orchestrates everything.

Step 1: Draw your normal scene (sprites, etc.) to an invisible texture (Render Target).

Step 2: Draw a Quad (a square) that fills the entire screen.

Quad Material + Shaders: This quad uses a special material and shaders that:

Take the invisible texture from Step 1.

Apply the blur effect.

Display the final result on the screen.

Controller Script: Calculates the speed and tells the quad shader how much and where to apply the blur.

From your description the setup sounds good. What happens? Is nothing rendered?

Yes, it doesn’t render anything, the screen stays black. GitHub - xpxilom/TestSahderDefold: TestSahderDefold

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)

6 Likes