You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ViroMaterials.createMaterials({
spherematerial: {
diffuseColor: "##ff0000", // red
diffuseTexture: require("./assets/checkerboard.png"),
{
The checkerboard is a png with transparency, such that the diffuse color should show through the transparent part.
I would imagine this would work based on the documentation. However the diffuseColor is ignored. Any suggestions appreciated.
The text was updated successfully, but these errors were encountered:
{
The checkerboard is a png with transparency, such that the diffuse color should show through the transparent part.
I would imagine this would work based on the documentation. However the diffuseColor is ignored. Any suggestions appreciated.
The text was updated successfully, but these errors were encountered: