Help me with scent

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
juankax
Prole
Posts: 3
Joined: Mon Jun 20, 2022 3:53 pm

Help me with scent

Post by juankax »

Hi!

I want to implement a scent-like system in my program. It would work in a way, that if there is color on the canvas, then it would spread to the pixels nearby (kinda like a blur) and disappear over time. I imagine it would look like the colors diffuse, which is what I want.
Do I need some sort of shader to do this? If so, how? I don't really understand how they work, so any help would be really appreciated!

Thanks!
Founder of Eventos BCN and Chofer BCN
User avatar
Nikki
Citizen
Posts: 87
Joined: Wed Jan 25, 2017 5:42 pm

Re: Help me with scent

Post by Nikki »

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 4 guests