Unity Shader Graph Basics (Part 7 - Custom Lighting)

Поделиться
HTML-код
  • Опубликовано: 21 окт 2024

Комментарии • 16

  • @GabrielAguiarProd
    @GabrielAguiarProd 5 месяцев назад +8

    You have been explaining topics very well! Well done Daniel 👏

    • @danielilett
      @danielilett  5 месяцев назад +3

      Thanks so much! Really enjoy your videos too :D

  • @seanloughran6714
    @seanloughran6714 5 месяцев назад +2

    I didn't know there was a built in Fresnel node. I've rebuilt that functionality and made my own sub-graph. That's awesome to know!

    • @danielilett
      @danielilett  5 месяцев назад +1

      I think it was one of the first nodes I learned about! It's super useful, glad your graphs will be slightly more convenient to make now :D

  • @SantanaOnYoutube
    @SantanaOnYoutube 5 месяцев назад +1

    An interesting thing to do if you want to control the shadow color of the object for a more specific use. Instead of using a float property for the light strenght, you can use a color property instead.

  • @_knightgames
    @_knightgames 5 месяцев назад +1

    Thanks a lot for the tutorial! I did the same things, but my sphere doesnt glow outside of it. Are you using a bloom effect? Or are you using HDRP?

    • @danielilett
      @danielilett  5 месяцев назад

      Yes, I'm using a bloom effect to make the glow visible! I covered that in Part 6, but I guess if you jumped in at this Part then you'd miss that. I'm using URP but everything should work in HDRP too.

    • @_knightgames
      @_knightgames 5 месяцев назад +1

      @@danielilett Thanks that makes sense :D Keep up the good work! Looking forward to your next videos :)

  • @SantanaOnYoutube
    @SantanaOnYoutube 5 месяцев назад +3

    I didn't know about the main light direction node. That's better than making a custom HLSL script just for this calculations!!
    You know if there is something similar to additional lights already implemented?

    • @danielilett
      @danielilett  5 месяцев назад +2

      Main Light Direction is a pretty recent addition! Sadly there's no similar nodes for stuff like the main light's color, but I suppose there's a chance something like that gets added in the future.
      As far as I'm aware, there are no nodes to get similar information from additional lights in the scene, sadly. You'll need to make a custom HLSL script for stuff like that. Not sure why they only added a node for the main directional light, but I suppose additional lights are a fair bit more complex.

    • @SantanaOnYoutube
      @SantanaOnYoutube 5 месяцев назад

      @@danielilett I checked the earlier feature examples scene sample recently, and even their shaders doesn't use it either, hopefully additional Lights is in their roadmap to be added.

  • @kiPROBRos
    @kiPROBRos 5 месяцев назад +1

    Excelent tuotorial, thank you man.

  • @ScorpioServo
    @ScorpioServo 5 месяцев назад +2

    Thanks!

    • @danielilett
      @danielilett  5 месяцев назад +1

      Wow, thanks so much :D

  • @FruitBK
    @FruitBK 3 месяца назад

    Thank u so much~~~~~~~~~~~~~!!!!

  • @random_precision_software
    @random_precision_software 5 месяцев назад

    how do u know what to do ?