Search Unity

Help Wanted Shader Graph - Is it possible to create this effect?

Discussion in 'Shader Graph' started by WimB, Jan 29, 2020.

  1. WimB

    WimB

    Joined:
    Sep 23, 2014
    Posts:
    26
    Hi all,

    I am looking to see if this can be created via shader graph instead of using scripts ( i am not a coder btw )

    Lets say I have a grid of cubes 50 x 50, I want the cubes to rotate 180 on themselves as I pass a black/white image across them. This texture should not be visible
    The black white texture would map the whole grid, so imagine an texture of an arrow scrolling across the cubes they would flip as the white part reaches them

    The cubes already an image mapped on top of them which so they need to keep there existing uv, and the shader will need the standard albedo,emission, specular and metallic values....
    I hope that makes some sense :? I just wanted to see if its possible or not and if anyone has any solutions
    HDRP or UNRP can be used
    Regards
     
  2. mangax

    mangax

    Joined:
    Jul 17, 2013
    Posts:
    295
    i don't think that is possible using shaders alone..

    in shaders you can manipulate vertices position easily from shader.. but doing a rotation effect around the box center is something different..
     
unityunity