About Painting on material Emmisive going white

Hi all , I’m using UE5.2 , and working on a painting system,


I got this material to paint on , which use a simple white color that adds a preview color with render target.

and the “Preview texture” i used is below :

it takes a simple red color that multiply with the Size , Location , and brush.
(i learned this method on a video that i can’t found , and i don’t really understand how it works.)

but i found that i can’t see clearly of my preview brush when the background is white ,
3
As the picture upon. (the red circle nearly dissapeared on white)
(i would like my preview brush to be in any color i selected , red is just for testing)

and i got another question, looking for a way to let the size change in linear , from now it seems to growth exponentialy when the “Size” value increases [0.1->1].

  • any idea for how letting my preview brush more clearly even on white background?
  • and how could i get the size grow linear .

any advice will be appreciated , thanks so much!!!

After some trying , i found out the size issue is becuz theres a “power” in the math…
simply done linear change after removing the power node…

and i found out my preview brush became lot obvious after change the “ADD” to “lerp” , with the alpha connected with my preview texture like this :

but then theres another problem is when the color goes dark , the whole brush dissapears.
i think it is becuz the Lerp’s Aplha goes 0 when the preview texture is black .

so i increased the value of my preview brush’s color when its lower then 0.1 , makes it at least able to see…

in this way its a bit better then the first version of my painting system that makes my preview brush more clear , but still got lots of shortcoming.

I’m keep looking for any better idea for showing my preview brush!

20240220-174844
here is a gif tht shows what happens when i select dark colors.