>
> It's possible (although
>
I don't know for sure) that the image is being treated as a non-
> premultiplied color format, and is subsequently converted to a
> premultiplied format; if so, this could explain the color darkening.
The image is constructed with
var image = new WritableImag
As you note, there are a few different issues here. To answer your
questions as best I can:
1 & 3. We should document that self-illum maps and specular only use the
rgb components and that alpha should be ignored. It's possible (although
I don't know for sure) that the image is being treated a
I found a comment [1] on JBS stating that specular and self-Illumination
alphas should be ignored, so it seems like there's at least 2 bugs here
already.
https://bugs.openjdk.java.net/browse/JDK-8090548?focusedCommentId=13771150&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel
Hi,
Using the updated lighting test sample [1], I found some odd behavior with
regards to PhongMaterial:
1. The effect of the opacity (alpha channel) of a self-illumination map is
not documented, but lowering its value makes the object darker. I looked at
the pixel shader [2] and only the rgb com