Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

GL methods not working in the HDRP

Discussion in 'High Definition Render Pipeline' started by LittleDreamerGames, Nov 3, 2019.

  1. LittleDreamerGames

    LittleDreamerGames

    Joined:
    Apr 9, 2017
    Posts:
    71
    Hi everyone,

    I think I already know the answer, so I'm just here to confirm.

    Do the GL methods like GL.PushMatrix, GL.PopMatrix, GL.Begin etc. not work in HDRP/URP? Unity will draw geometry just fine in the Scene view, but nothing draws in the Game view. I have a feeling the backend for OpenGL simply doesn't exist in any custom scriptable render pipeline. Can anyone confirm this?

    Thank you,
    Aaron
     
    FinnTess and _alia_ like this.
  2. FinnTess

    FinnTess

    Joined:
    Jun 10, 2018
    Posts:
    5
    If anyone have an idea :/ I have to use some GL fucntion but we are using HDRP, and it seems that is not working. SAD
     
  3. dCalle

    dCalle

    Joined:
    Dec 16, 2013
    Posts:
    55
    BUMP!
     
  4. TOES2

    TOES2

    Joined:
    May 20, 2013
    Posts:
    135
    No, its not working and don't expect unity to bother documenting anything HDRP properly, its a mess of guesswork and trial and error. At least you got a lot of time to google problems while waiting for endless "please wait" bars to complete... :(