RFR: 8217472: Add attenuation for PointLight
Nir Lisker
nlisker at openjdk.java.net
Wed Jul 15 00:18:20 UTC 2020
On Fri, 3 Jul 2020 13:49:20 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:
>> I've added sphere with 10, 64 (default) and 200 divisions. Note that this number is approximate because the sphere mesh
>> corrects the division number with `newDivisions = ((oldDivisions + 3) / 4) * 4`.
>> [attenTest.zip](https://github.com/openjdk/jfx/files/4855989/attenTest.zip) Using AMD RX 470 4GB on Win 10, all 3
>> spheres averaged 120 fps both before and after the patch. (It takes a couple of measurements to hit the consistent fps,
>> so I discarded them.)
>
>> I've added sphere with 10, 64 (default) and 200 divisions.
>
> Thanks, I'll take a look at it.
Using AMD RX 470 4GB on Ubuntu 18, all 3 spheres averaged 60 fps both before and after the patch.
I wonder why the number is half what it is on Windows. Is it capped?
-------------
PR: https://git.openjdk.java.net/jfx/pull/43
More information about the openjfx-dev
mailing list