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

Correct attenuation indicator for removed lights

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • jfx22
    • jfx18
    • javafx
    • b03

        When resetting in NGShape3D, the on/off attenuation toggle should be off (0), but it is on (1). This causes a performance degradation when fewer than the max lights (3) are used because the "empty" lights undergo attenuation calculation instead of short-circuiting.

        This parameter should simply be changed to 0.

              nlisker Nir Lisker
              nlisker Nir Lisker
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: