Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 6 of 6

Thread: Raytracing support in OpenGL (equivalent of DXR)?

  1. #1
    Junior Member Regular Contributor
    Join Date
    Jul 2010
    Posts
    140

    Raytracing support in OpenGL (equivalent of DXR)?

    Hi,

    I have read there is work in progress regarding a Vulkan port of DXR, with specific extensions such as VK_NV_raytracing.

    Are there any planned extensions for OpenGL?

    Thanks,
    Fred

  2. #2
    Senior Member OpenGL Guru Dark Photon's Avatar
    Join Date
    Oct 2004
    Location
    Druidia
    Posts
    4,512
    Quote Originally Posted by fred_em View Post
    I have read there is work in progress regarding a Vulkan port of DXR, with specific extensions such as VK_NV_raytracing.

    Are there any planned extensions for OpenGL?
    I asked 2 different NVidia guys at SIGGRAPH this year (one of which was presenting on "NVidia RTX on Vulkan" in the NVidia booth), and both said that there are no plans to support the raytracing capability from OpenGL.

    (RTX being the new GPU line which has the new RT cores -- for HW-accelerated ray tracing support -- in addition to CUDA and Tensor cores.)
    Last edited by Dark Photon; 08-28-2018 at 04:46 AM.

  3. #3
    Junior Member Regular Contributor
    Join Date
    Jul 2010
    Posts
    140
    Thanks for your reply. Like you, I thought the feature would not be accessible.
    But apparently, raytracing is being made available for OpenGL too, through GL_NVX_raytracing !

    https://github.com/KhronosGroup/GLSL...raytracing.txt

    Or maybe I am dreaming it, not sure, not properly awaken this morning!

  4. #4
    Junior Member Regular Contributor
    Join Date
    Jul 2010
    Posts
    140
    Maybe I am mistaken and this is only GLSL (not OpenGL).

  5. #5
    Senior Member OpenGL Guru Dark Photon's Avatar
    Join Date
    Oct 2004
    Location
    Druidia
    Posts
    4,512
    Quote Originally Posted by fred_em View Post
    Maybe I am mistaken and this is only GLSL (not OpenGL).
    Right, GLSL not GL. The shader authoring path for Vulkan is GLSL cross-compiled to SPIR-V, so the addition of GLSL_NVX_raytracing and SPV_NVX_raytracing is consistent with the addition of VK_NVX_raytracing.

    I do find it interesting though that though the URL for GLSL_NVX_raytracing reads GLSL_, the actual extension spec, as well as the reference to it on the VK_NVX_raytracing link reads "GL_NVX_raytracing". Could be due to a late rename to GLSL_ to avoid exactly the confusion you're talking about.
    Last edited by Dark Photon; 09-24-2018 at 05:00 AM.

  6. #6
    Junior Member Regular Contributor
    Join Date
    Jul 2010
    Posts
    140
    Yes, I noticed this too!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •