Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question .vsh and .fsh from Plugins/Android/assets to WHERE

Discussion in 'Shaders' started by LuisJavierLopez, May 18, 2023.

  1. LuisJavierLopez

    LuisJavierLopez

    Joined:
    May 23, 2019
    Posts:
    8
    Hi,

    We use Easy Movie Texture plugin to reproduce M3U8 streaming videos.

    This plugin uses the folder Plugins/Android/assets/Shader that contains two files:
    - MeshFragShader.fsh
    - MeshVertShader.vsh

    When upgrading to Unity 2021.3.25f, the Plugins/Android/assets folder is OBOLETE. Without those files, the videos are not being seen (the sound is working)

    We have tried to include those files in an Android Studio module AAR file, and we have included it into Plugins/Android/libs; the hierarchy in the file is:

    proguard.txt
    R.txt
    AndroidManifest.xml
    classes.jar
    res/
    res/raw/
    res/raw/meshfragshader.fsh
    res/raw/meshvertshader.vsh
    META-INF/com/android/build/gradle/aar-metadata.properties
    raw/

    Still not working.

    The two files in other folder under Assets doesn't work either.

    How can we include this files in our Android build in order to make Easy Movie Texture to work again?
     
  2. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,983
    This is a question for Android subforum.
     
  3. pramodh_incrdbl23

    pramodh_incrdbl23

    Joined:
    Aug 31, 2017
    Posts:
    1
    any
    Hi
    Hi were you able to find a solution for this, Please let me know