We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The conformance test
http://www.web3d.org/x3d/content/examples/ConformanceNist/Appearance/ImageTexture/greyscale_jpg_diffuseColor.xhtml
produces only a greyscale texture, without the red tinting from the diffuse color.
The text was updated successfully, but these errors were encountered:
Hi Andreas,
blending a texture color with a material color should only work if you set the origChannelCount of the ImageTexture to 1 or 2.
origChannelCount
ImageTexture
1
2
<ImageTexture url="..." origChannelCount="1"></ImageTexture>
See Table 17.2 of the X3D Specification.
Regards Timo
Sorry, something went wrong.
Yes, x3dom has origChannelCount but x3d does not: http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/texturing.html#ImageTexture
So should 1 be the default ? This may have been discussed ?
No branches or pull requests
The conformance test
http://www.web3d.org/x3d/content/examples/ConformanceNist/Appearance/ImageTexture/greyscale_jpg_diffuseColor.xhtml
produces only a greyscale texture, without the red tinting from the diffuse color.
The text was updated successfully, but these errors were encountered: