Dithered Transparency in Unity Shader Graph

Поділитися
Вставка
  • Опубліковано 12 гру 2024

КОМЕНТАРІ • 17

  • @harrison298
    @harrison298 3 місяці тому +2

    This is one of the few times in my several years of learning Unity that I followed a tutorial and the end result was EXACTLY what I wanted. Great job, and thank you! Most of this went over my head, but it actually made me want to learn more about shader graph now.

  • @micahaghedo7610
    @micahaghedo7610 Місяць тому

    I was crying because a 3D model that I was using was acting really weird when using the transparent Rendering Mode. You have SAVED my life.

  • @ethanwimsett
    @ethanwimsett 8 місяців тому +2

    Thanks! Just what I needed

  • @AndreiGontcharov
    @AndreiGontcharov 8 місяців тому +5

    Hey - I've tried out the dither shader before and noticed that shadows also dither.
    Any idea how to handle that where the mesh dithers but not the shadow?

    • @danielilett
      @danielilett  8 місяців тому +3

      I don't think this is something you could do in Shader Graph (it's probably impossible? but I can't say for sure), but I think if you did this in a code-based shader, you would potentially have more control over the shadow caster pass. I haven't looked into this before, and I'm not 100% sure what happens when you clip something in the 'regular' pass and try not to in the shadow caster pass, but maybe I'll have a play around with this myself at some point!

    • @borkyborkborked
      @borkyborkborked 2 місяці тому

      you have to use TAA in unity. lots of downsides to that. on the bright side it will make the transparency even better.

  • @kiPROBRos
    @kiPROBRos 8 місяців тому +2

    Excelent, thank you bro.

  • @saeidanwar8587
    @saeidanwar8587 8 місяців тому +2

    Very helpful.

  • @print_all
    @print_all 8 місяців тому +2

    Very good !

  • @ConstantineG
    @ConstantineG 6 місяців тому +2

    I love unity's dither node but I always thought the steps were too limited for smooth transitions. Maybe instead of using the dither node one could make a more complex (with more greyscale steps) texture and use it with a step node instead?

    • @danielilett
      @danielilett  6 місяців тому +1

      Yep, definitely a valid way to do it! The Dither node uses a 4x4 repeating pattern so if you want a more fine-tuned transition you could use an 8x8 texture or something.

  • @lesserlobster8336
    @lesserlobster8336 3 місяці тому

    Thank you, this is great!

  • @doublehitgames531
    @doublehitgames531 6 місяців тому

    Amazing. so could help me change the shader to apply the dittering using the camera distance?

  • @XanTheAwesomeGuy
    @XanTheAwesomeGuy 7 місяців тому

    how would you make it dither if the camera is clipping with the object?

  • @EkramHossain45
    @EkramHossain45 7 місяців тому +1

    Make More Video About Unity Shader Graph! & Make A New Shader!! ❤️

  • @아카기안나
    @아카기안나 4 місяці тому

    honk

  • @LostAngel175
    @LostAngel175 6 місяців тому

    TA Hero