Search Unity

Question need to combine for RGB from RGBA?

Discussion in 'Shader Graph' started by dakomz, Jun 21, 2020.

  1. dakomz

    dakomz

    Joined:
    Nov 12, 2019
    Posts:
    40
    Consider something like this, where there's a texture and I want to pass the RGB to a lerp over Vector3:

    upload_2020-6-21_12-33-11.png

    To be on the safe side I add in a Combine step, but is this necessary - or can I skip it and just pass the RGBA directly (assuming alpha will be dropped)?