Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Help Wanted Masking Position Node not possible with texture?

Discussion in 'Shader Graph' started by Flow-Fire-Games, Aug 13, 2019.

  1. Flow-Fire-Games


    Jun 11, 2015
    So I have this weird issue I don't understand

    I have a wind shader that works well, but now I want to mask the effect of the position offset with a texture

    If I mask it with a noise or anything, it works
    But with a grayscale texture (which should be the same as a grayscale noise in effect) does not work at all. I am pretty sure I need to do some type of conversion but have no idea which

    I did try various conversion nodes like split etc but to no effect. Nothing made the texture compatible.
    "Cannot map expression vs_5_0 instruction set"
    The odd thing is that the shader graph does display the outcome I want in the node previews, but the result does not work.

    What am I missing?

    (Top dosnt work, bottom noise works as a mask)

    Here is a longer gif of the whole thing and in motion:
    Last edited: Aug 13, 2019
  2. bgolus


    Dec 7, 2012
    Flow-Fire-Games likes this.