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

PointLight has fade by default

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • 5.15
    • 5.14.0 Beta2
    • Quick: 3D
    • None
    • 6f87061cea3681250c0256280be638b888ac6bd5
    • Qt Quick 3D - Week 7/8

      PointLight doc says: 

          By default, a point light has infinite range and does not diminish. However, the fade-off
          (and range) can be controlled with the \l {constantFade}, \l {linearFade}, and
          \l quadraticFade properties.
      
      ...
      
      /*!
       * \qmlproperty real PointLight::quadraticFade
       *
       * This property increases the rate at which the lighting effect dims the light
       * in proportion to the inverse square law. The default value is 1.0 meaning the point light
       * fade exactly follows the inverse square law i.e. when distance to an object doubles the
       * light intensity decreases to 1/4th.
       *
       */
       

      The default point light has quadratic fade of 1.0, though doc also says that it has infinite range and doesn't diminish. I think default shouldn't be quadratic fade, as that is pretty aggressive, resulting in very dim light.

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

            kagro Kaj Grönholm
            e0348803 Miikka Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes