Hi I’m looking to recreate the molly(Molotov) ability from valorant
it has some interesting properties that i don’t understand how to make
- it seems to render from top-down
- I think it is a decal
- It can be blocked by walls
Hi I’m looking to recreate the molly(Molotov) ability from valorant
it has some interesting properties that i don’t understand how to make
I believe it is a decal but i don’t understand how they get it to work with Line of Sight.
It is blocked by walls and doesn’t render through them, and it also only renders on the very top layer of itself. you can see in my first image that it renders on the top surface and the bottom surface but it under the top surface it doesn’t render under itself anymore.
one weird method i tried using was a masked spotlight. it gives me the intended behavior of line of sight and only affecting the top layers but i have no idea how i would use it to render a decal.
i was also told i should try to use a distance field gradient?
Oh you are right. It behaves quite differently and it’s not immediately obvious.
I have no idea how to do that. Maybe you should check how the decals in UE are projected and see if you can modify them to be projected from a point and to be shadowed. It will be complex though.
The idea about the light is good too but I’m not sure how to make a light have this effect on a surface.