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

Create New Material from Image 2d

Discussion in 'Editor & General Support' started by simone_fratoni, May 2, 2020.

  1. simone_fratoni

    simone_fratoni

    Joined:
    Jan 17, 2020
    Posts:
    13
    Hello to everyone,
    I'm engineering student and I want to recreate damage concrete in beams and column.
    Is there solution to create a new material 3D without Texture?
    I have my default material that is concrete and I want to create cracks only in a part of beams like in photo posted.

    https://www.quora.com/Can-shear-reinforcement-in-beams-resist-shear-cracks


    Thanks for everyone help me!
     
  2. Olmi

    Olmi

    Joined:
    Nov 29, 2012
    Posts:
    1,553
    Hi,
    Yes it's possible - You could use decals. That way you could just stick a decal to a spot that has damage.
    If you're not aware what decals are, they're just geometry objects that use a shader trick to make them look like they're on the surface. There's many decal solutions out there and HDRP for example has built-in decals, and you can get at least basic (quite ok) decals for free for built-in pipeline.

    Btw, are you aware that your image links are broken? Might be a good idea to just upload the images to the post and use those, as they always work.
     
  3. simone_fratoni

    simone_fratoni

    Joined:
    Jan 17, 2020
    Posts:
    13
    te.jpg Immagine1.jpg te.jpg Immagine1.jpg
    Thanks For Reply.
    It's a good Solution but in my case isn't valid because i have a lot of elements in my scene and i looking for a quick solution to apply directly in all my element.
    In the first image i try with your metod and this is result. This is my step: Beams dimension are 800x70, create a new image in paint 800x70 pixel and put this in new material that i have appy near my elents. (Another problem is that crack are 2d and in my case is 3d).
    Then i try to apply directly in my elements and it isn't no good like you can see in beam above.