Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Does anyone know how to make a "painting" shader?

Discussion in 'Shaders' started by IlisanVlad, Feb 28, 2020.

  1. IlisanVlad

    IlisanVlad

    Joined:
    Dec 3, 2017
    Posts:
    30
    Alright so I found this project online that does exactly what I need https://medium.com/@shahriyarshahrabi/mesh-texture-painting-in-unity-using-shaders-8eb7fc31221c
    It changes the pixels colors in an area.
    But it doesn't work on IOS. I am trying to solve this problem for over a week and I don't what to do I was thinking on creating it from scratch but I don't really know how to do it.

    You can see the post about the problem I have here https://forum.unity.com/threads/shader-works-on-android-but-it-is-black-on-ios.835177/#post-5525773
    And a previous problem https://forum.unity.com/threads/cus...g-the-platform-to-mobile.824139/#post-5501224

    I was hoping that someone here knows how to do it or already has and can help me with anything and if you can't post the code I will after everything is done because I really can't find other painting script like this online.

    Any help is appreciated and thank you :)
     
  2. plmx

    plmx

    Joined:
    Sep 10, 2015
    Posts:
    308
    I can only point you to this asset which I've used in a different scenario (not iOS). You might want to contact the author to find out whether it works on iOS.
     
  3. IlisanVlad

    IlisanVlad

    Joined:
    Dec 3, 2017
    Posts:
    30
    I am going to check it out. Thank you