#Problem with my Paint System with SDF shader

1 messages · Page 1 of 1 (latest)

vapid plover
#

I'm doing a painting system and i wanted to use a sdf shader and blit on a render texture as brush to have the path of the brush. so i have done that but i have an issue but i don't know why because when i blit that paint all the render texture. i didn't tell that my render texture is an atlas. So, i use an id for each object i have to paint and give it a place in the atlas with it. next i use tiling and offset in my shader to draw where i want. So for my issue i think but that can be anywhere that could be the tiling and offset in my shader or the sdf itself but i don't find the problem . i hope someone can find the problem plz help me.

#

and im french so mabee i have some comment in french or variable

#

if u need something more i can give it just ask 🙂