Unity Shader Performance: How to Quickly Measure the GPU Cycles Your Shaders Take

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ม.ค. 2025

ความคิดเห็น • 20

  • @Arrow5587
    @Arrow5587 4 ปีที่แล้ว +1

    Happy to have you on TH-cam 😄😄. I've bought your Unity Performance Checklist course. Eager to use it.

    • @TheGameDevGuru
      @TheGameDevGuru  4 ปีที่แล้ว

      Thanks Ashish! Happy to have you around

  • @CodingWithUnity
    @CodingWithUnity 4 ปีที่แล้ว +4

    Video definitely did not suck!
    I enjoyed it a lot!
    All of your content has been super professional and very useful!

    • @TheGameDevGuru
      @TheGameDevGuru  4 ปีที่แล้ว

      Thank you very much! I subscribed to your channel.

  • @hojaverde5265
    @hojaverde5265 4 ปีที่แล้ว +1

    Hey great first video! I didn't know about this technique. Thank you :D

  • @saikatazad4895
    @saikatazad4895 3 ปีที่แล้ว

    dude! where have you been! awesome tutorial by the way :D

  • @PRodi_
    @PRodi_ 4 ปีที่แล้ว +4

    Great video! btw. is there a way to make the same for Shader Graph shaders?

  • @yachaleef9288
    @yachaleef9288 2 ปีที่แล้ว +1

    i keep getting a 404 page not found error when I click download on the arm mobile studio page help please and thank you

    • @TheGameDevGuru
      @TheGameDevGuru  2 ปีที่แล้ว

      After logging in? That always worked for me

    • @yachaleef9288
      @yachaleef9288 2 ปีที่แล้ว

      @@TheGameDevGuru i got in touch with the support team at arm and believe they were updating the web page for downloads and got a new link for download

  • @mesmes9424
    @mesmes9424 2 ปีที่แล้ว +3

    Thank you for a great tutorial this is really important !
    I am using the URP settings so when Upgrade "Standard" it becomes "Universal Render Pipeline/Lit" that doesn't contain the #ifdef / Vertex stuff. What do you suggest to do ?
    All my materials are the same ("Universal Render Pipeline/Lit").

    • @KYL3R64
      @KYL3R64 2 ปีที่แล้ว +1

      Use the little dropdown arrow next to "compile and show code" to select "GLES3x" and then press the button. Also described (including screenshot) here:
      thegamedev.guru/unity-gpu-performance/shader-cost-analysis-mali-offline-compiler/
      I'm on HDRP and this worked, because Mali can only understand "OpenGL ES" shaders. I'm pretty sure it will work the same way for URP.

  • @amac333
    @amac333 4 ปีที่แล้ว

    Hey, this was really great. Super helpful. What did you say at 9:45? "Having the ___ is the best thing you can start with". I'm curious what that is.. I like knowing what is the best to start with. Good work, keep it up. Cheers.

    • @TheGameDevGuru
      @TheGameDevGuru  4 ปีที่แล้ว

      I'm ashamed to say that I can't tell. Probably an editing mistake I made. Sorry about that, I definitely have to work on my mic (and accent) setup.

  • @gamer-z6431
    @gamer-z6431 ปีที่แล้ว

    'malioc' is not recognized as an internal or external command,
    operable program or batch file.

  • @TarXor-Art-VFX
    @TarXor-Art-VFX 3 ปีที่แล้ว

    When you compile Shader Graph or Amplify files, then inside you can find dozens of code blocks with the beginning of the # ifdef VERTEX and FRAGMENT. Does anyone know what to do with this?

  • @user-uk9er5vw4c
    @user-uk9er5vw4c 6 หลายเดือนก่อน +1

    thanks

  • @dudley0007
    @dudley0007 ปีที่แล้ว

    Great video! Super insightful blogs and content all round. Has anyone tried this recently??? I'm getting this error even though I'm compiling for GLES3x
    Configuration
    =============
    Hardware: Immortalis-G715 r0p0
    Architecture: Valhall
    Driver: r41p0-00rel0
    Shader type: OpenGL ES Vertex
    Compiler messages
    =================
    ERROR: 0:19: S0059: 'binding' qualifier is not allowed in language version 300 es
    Compilation failed.
    Thanks !

    • @TheGameDevGuru
      @TheGameDevGuru  ปีที่แล้ว

      Yeah you might need to remove some keywords or entire sections from the shader for it to work