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

WebGL lighting not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated 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

       

      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.

        1. chrome_1.PNG
          78 kB
          Gudrun Bonte
        2. web_engine_1.png
          19 kB
          Gudrun Bonte
        3. chrome_2.png
          184 kB
          Gudrun Bonte
        4. web_engine_2.png
          55 kB
          Gudrun Bonte
        5. chrome_gpu_no_flags.docx
          20 kB
          Gudrun Bonte
        6. chrome_gpu_chrome.docx
          26 kB
          Gudrun Bonte
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes