How to Reduce Decal Stretching?

I used a linetrace based on player camera’s rotation, so it is not so straight angle. Maybe I can make it straight. but then the splatter’s angle won’t be align with player’s shooting angle I guess.

It needs to be aligned with the surface normal.

How I’m able to do that? if it’s not too much to ask?

Just working on an example…


actually I found a workaround:
I just used the player camera’s x and z angle, so the linetrace will produce vertical blood splatter only, then I added another decal from player and project straight down.
Now it seems pretty close to what I was looking for .

That looks like a nightmare :slight_smile:

Here’s the fundamentals

align decal

Ok cool, I’m giving it a try now.
Thank you so much for the detailed explaination for everything.
Otherwise I’m gonna living in this nightmare for a while XD

Tested, it’s been working great.
You’re awesome!

1 Like

What’s all that ‘many many spawn decal’ nodes thing, you have going on?

What are you trying to achieve, I think we can do it with one :slight_smile:

It’s for some reason my decal won’t fade out no matter what I try. So I set multiple ones and make them disappear in different time to get a faked fading FX. XD

btw my game is here just so if you wanna have a peek.
The environment is dark so it covers up for some flaws I’m lacking experience for.

You mean the auto fade time?

Ah, you want them to fade slowly over time?

It’s like a fading out effect, it’s been a while and I forgot the exact name of it… it should fade gradually with the proper settings. but I couldn’t get it to work, so my decals will disappear all of sudden. Then I piled multiple ones to make them disappear one by one.

yep yep

1 Like

You have to put this node in your mat

Set it on spawn

decal fade

Man, that’s exactly what I need!
I guess lacked the information or documentation, it’s not so easy to find a certain detailed answer for things like that.
Really appreciate that! :smiley:

1 Like

Mouse over tells you :wink:

1 Like

:+1: :+1: :+1:

1 Like