Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8234921

Add DirectionalLight to the selection of 3D light types

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: openjfx13
    • Fix Version/s: openjfx15
    • Component/s: javafx
    • Labels:
      None

      Description

      The 3D API offer AmbientLight and PointLight lights. DirectX and OpenGL offer, in addittion, SpotLight and DirectionalLight.

      This issue deals with the addition of DirectionalLight. A DirectionalLight behaves like an AmbientLight with a direction. That is, instead of objects being illuminated from all direction, they are illuminated from a single direction.

      DirectionalLight will subclass LightBase.

      See also the D3D9 docs: https://docs.microsoft.com/en-us/windows/win32/direct3d9/light-types

        Attachments

          Activity

            People

            • Assignee:
              nlisker Nir Lisker
              Reporter:
              nlisker Nir Lisker
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: