Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Question Help on UV node and Custom Data - Can UV node be used to control anything through inspector?

Discussion in 'Shader Graph' started by wingsneon, Feb 28, 2024.

  1. wingsneon

    wingsneon

    Joined:
    Jul 5, 2018
    Posts:
    23
    I saw some tutorials using the Custom Vertex Streams (
    UV TEXCOORD0 
    +
    Custom1.xyzw (TEXCOORD0)
    ) and using the Particle System Custom Data XYZW controls in inspector to control some things in the material

    I did the same but I'm only able to control 2 properties that I setup in my shadergraph. I can't use all of the 4 properties simultaneously like I wanted.

    I wanted to be able to control the offset, the opacity and brightness of the color, I can only control the offset and opacity. The RGBA properties are also not "synced" to "XYZW", the UV "A" for example, is bound to the "Y" coordinate in the inspector, while the B of the UV is bound to the X in inspector, which doesn't make much sense to me!
    upload_2024-2-28_11-22-52.png