Skip to content
Snippets Groups Projects
Commit 80ad53d5 authored by Terry D. Norbraten's avatar Terry D. Norbraten
Browse files

[Terry N.] update setIgnoreDiffuse issue in OGLAppearance

parent 23b65264
No related branches found
No related tags found
No related merge requests found
......@@ -141,10 +141,12 @@ Major changes since 2.1(May 22, 2014):
http://www.web3d.org/documents/specifications/19775-1/V3.2/Part01/components/texturing.html#ImageTexture
did not reveal a clear cut case for ignoring diffuse color when an image is
not considered grey-scale. Turns out that transparency, or the (1 - alpha)
value of the image, is the correct indicator of ignoring a material node's
value of the image, might be a indicator of ignoring a material node's
diffuse color component. Added a "hasTransparency" field to
org.web3d.image.NIOBufferImage which is set based on the type of image used
in an ImageTexture node.
in an ImageTexture node. Be that as it may, reverting the boolean flip of
!image.isGrayScale() to set ignoreDiffuse so that DEF/USE can be honored for
a single image texture.
Remove fastinfoset_1.2.9.jar as the fastinfoset was internally adopted into
the JDK sometime ago. Now using the internal version, but now need to set
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment