Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-65340

WebGL lighting not working

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.10.0
    • WebEngine
    • None
    • OS: Windows 10 Pro, 64 bit

      Processor: Intel Core i7-4790 3.6 GHz

      Video card: Intel HD Graphics 4600

      Build version: MSVC 2015 64bit

       

    Description

      Open one of the following sites in a QWebEngineView:

      The objects are not lighted, as you can see from the attached screen-shots (web_engine_1.png, web_engine_2.png).

      However, the objects are lighted when opening the sites from Chrome on the same machine (chrome_1.png, chrome_2.png).

      We assume that the lighting is done per-pixel, in the shader program, in these examples. Other examples which seem to do per-vertex lighting are working correctly (like https://threejs.org/examples/?q=light#canvas_lights_pointlights).

      We tried passing various parameters to the chromium engine, including --ignore-gpu-blacklist and  --enable-gpu-rasterization but neither fixed the problem.

      We have also attached the chrome://gpu output (chrome_gpu_no_flags.docx).

      Another curious detail is that the problem does not occur on our Mac machines, same Qt version.

      Attachments

        1. chrome_1.PNG
          chrome_1.PNG
          78 kB
        2. chrome_2.png
          chrome_2.png
          184 kB
        3. chrome_gpu_chrome.docx
          26 kB
        4. chrome_gpu_no_flags.docx
          20 kB
        5. web_engine_1.png
          web_engine_1.png
          19 kB
        6. web_engine_2.png
          web_engine_2.png
          55 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qt_webengine_team Qt WebEngine Team
              gudrunb Gudrun Bonte
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes