|
|
@ -556,7 +556,7 @@ public class Material implements CloneableSmartAsset, Cloneable, Savable { |
|
|
|
+ "Linear using texture.getImage.setColorSpace().", |
|
|
|
+ "Linear using texture.getImage.setColorSpace().", |
|
|
|
new Object[]{value.getName(), value.getImage().getColorSpace().name(), name}); |
|
|
|
new Object[]{value.getName(), value.getImage().getColorSpace().name(), name}); |
|
|
|
} |
|
|
|
} |
|
|
|
paramValues.put(name, new MatParamTexture(type, name, value, nextTexUnit++)); |
|
|
|
paramValues.put(name, new MatParamTexture(type, name, value, nextTexUnit++, null)); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
val.setTextureValue(value); |
|
|
|
val.setTextureValue(value); |
|
|
|
} |
|
|
|
} |
|
|
|