Search Unity

Hide a reflective texture entirely using BlendShape

Discussion in 'Animation' started by unity_70595121BC6201782156, Sep 21, 2021.

  1. unity_70595121BC6201782156

    unity_70595121BC6201782156

    Joined:
    Sep 21, 2021
    Posts:
    1
    Hi,
    I'm using Blendshapes to have toggleable glasses on my character model. However, the shader I'm using for the lenses (Shader Forge Crystal Shader) still shows light reflections whenever the texture is invisible (understandably).

    Could anyone please give me some pointers in the direction of a shader which will hide light reflections while the texture is invisible, but still allow for transparency like glasses? Thank you so much :)
     
  2. blazer2345

    blazer2345

    Joined:
    Jul 20, 2021
    Posts:
    1
    hi, please can you tell me how you hide the texture with a blendshape? thanks!!
     
  3. razzraziel

    razzraziel

    Joined:
    Sep 13, 2018
    Posts:
    396
    What does it have to do with blendshapes? Are you modifying polygon positions? If so you can move them to any place hidden/inside. But that's a very bad method, still would work.

    Instead, model it with seperate parts in Blender and toggle the parts on/off in Unity.