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

Revisit performance improvements of the 3D shaders

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • javafx
    • None

      Adding self-illumination color and removing the restriction of 3 lights will incur performance costs, Performance improvements should be relooked at. The shaders contain commented out code for different implementations that differ by performance.

      One pitfall to look out for is floating point comparisons. The shaders don't behave like Java, and from rudimentary tests it looks like it's a bad idea to do so. Introducing a delta seems to be more accurate.

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

              Created:
              Updated: