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
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

HLSL written SV_VertexID works different in opengl after automatic compile

Discussion in 'Shaders' started by segant, Jun 29, 2020.

  1. segant

    segant

    Joined:
    May 3, 2017
    Posts:
    169
    Shader is different from directx. I used hlsl in shader. I think unity converts it wrong.
     
    Last edited: Jun 29, 2020
  2. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    1,469
    If you think shader compilation is incorrect, please submit a bug report.
     
  3. segant

    segant

    Joined:
    May 3, 2017
    Posts:
    169
    Allright, I'll upload it today.
     
    aleksandrk likes this.
unityunity